Click here to Skip to main content
15,896,500 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: How can I solve "Object Referance not set to an instance of an object" error problem? Pin
JUNEYT6-Oct-08 1:10
JUNEYT6-Oct-08 1:10 
AnswerRe: How can I solve "Object Referance not set to an instance of an object" error problem? Pin
Jaffer Mumtaz6-Oct-08 2:33
Jaffer Mumtaz6-Oct-08 2:33 
GeneralRe: How can I solve "Object Referance not set to an instance of an object" error problem? Pin
JUNEYT6-Oct-08 4:47
JUNEYT6-Oct-08 4:47 
GeneralRe: How can I solve "Object Referance not set to an instance of an object" error problem? Pin
AlexeiXX36-Oct-08 5:03
AlexeiXX36-Oct-08 5:03 
GeneralRe: How can I solve "Object Referance not set to an instance of an object" error problem? Pin
JUNEYT6-Oct-08 5:28
JUNEYT6-Oct-08 5:28 
GeneralRe: How can I solve "Object Referance not set to an instance of an object" error problem? Pin
AlexeiXX36-Oct-08 8:50
AlexeiXX36-Oct-08 8:50 
GeneralRe: How can I solve "Object Referance not set to an instance of an object" error problem? Pin
JUNEYT6-Oct-08 9:05
JUNEYT6-Oct-08 9:05 
GeneralRe: How can I solve "Object Referance not set to an instance of an object" error problem? Pin
AlexeiXX36-Oct-08 9:15
AlexeiXX36-Oct-08 9:15 
NewObj.Getyear = Int32.Parse(ParamsFromPage("GetYear")).ToString
NewObj.GetMonth = Int32.Parse(ParamsFromPage("GetMonth")).ToString
NewObj.GetDayFrom = Int32.Parse(ParamsFromPage("GetDayFrom")).ToString
NewObj.GetDayTo = Int32.Parse(ParamsFromPage("GetDayTo")).ToString
NewObj.GetStatus = ParamsFromPage("GetStatus").ToString

ParamsFromPage.Clear()

ParamsFromPage.Add("GetYear", NewObj.Getyear)
ParamsFromPage.Add("GetMonth", NewObj.GetMonth)
ParamsFromPage.Add("GetDayFrom", NewObj.GetDayFrom)
ParamsFromPage.Add("GetDayTo", NewObj.GetDayTo)
ParamsFromPage.Add("GetStatus", NewObj.GetStatus)


What are you doing here??
paramsFromPage has the same values that i had in the beggining

By the way...
If carefully look at this:
NewObj.GetDayTo = Int32.Parse(ParamsFromPage("GetDayTo")).ToString
I think that getDayTo expects an int32, you are making extra conversions, you case the value to int32 and then to string with the tostring method and then the result is casted back to int32 when you assign it

Alexei Rodriguez

GeneralRe: How can I solve "Object Referance not set to an instance of an object" error problem? Pin
JUNEYT6-Oct-08 11:15
JUNEYT6-Oct-08 11:15 
AnswerRe: How can I solve "Object Referance not set to an instance of an object" error problem? Pin
ToddHileHoffer6-Oct-08 3:01
ToddHileHoffer6-Oct-08 3:01 
QuestionDoes .Net Framwork needed? Pin
Pedram Behroozi6-Oct-08 0:13
Pedram Behroozi6-Oct-08 0:13 
AnswerRe: Does .Net Framwork needed? Pin
J4amieC6-Oct-08 0:14
J4amieC6-Oct-08 0:14 
GeneralRe: Does .Net Framwork needed? Pin
Pedram Behroozi6-Oct-08 0:18
Pedram Behroozi6-Oct-08 0:18 
GeneralRe: Good Tutorial Pin
eyeseetee6-Oct-08 0:21
eyeseetee6-Oct-08 0:21 
AnswerRe: Does .Net Framwork needed? Pin
bagla6-Oct-08 2:09
bagla6-Oct-08 2:09 
GeneralRe: Does .Net Framwork needed? Pin
N a v a n e e t h6-Oct-08 2:28
N a v a n e e t h6-Oct-08 2:28 
GeneralRe: Does .Net Framwork needed? Pin
Pedram Behroozi6-Oct-08 2:58
Pedram Behroozi6-Oct-08 2:58 
GeneralRe: Does .Net Framwork needed? Pin
J4amieC6-Oct-08 4:20
J4amieC6-Oct-08 4:20 
GeneralRe: Does .Net Framwork needed? Pin
Pedram Behroozi6-Oct-08 4:31
Pedram Behroozi6-Oct-08 4:31 
QuestionWhat about other OSs? Pin
Pedram Behroozi6-Oct-08 8:54
Pedram Behroozi6-Oct-08 8:54 
AnswerRe: What about other OSs? Pin
Adam Maras6-Oct-08 9:19
Adam Maras6-Oct-08 9:19 
GeneralRe: What about other OSs? Pin
Pedram Behroozi6-Oct-08 10:17
Pedram Behroozi6-Oct-08 10:17 
QuestionExport ASP.NET Page Contens To Excel Problelm(Loosing Formatting) Pin
veereshIndia5-Oct-08 23:49
veereshIndia5-Oct-08 23:49 
AnswerRe: Export ASP.NET Page Contens To Excel Problelm(Loosing Formatting) Pin
eyeseetee5-Oct-08 23:56
eyeseetee5-Oct-08 23:56 
QuestionExcel Templates in .net 3.5 Pin
srinivaskonijeti5-Oct-08 22:50
srinivaskonijeti5-Oct-08 22:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.