| | |
plz help to solve this prob
Please support our ASP.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Mar 2006
Posts: 11
Reputation:
Solved Threads: 0
i created a session variable and try to call it on page load on another page the following error occur
: System.NullReferenceException: Object reference not set to an instance of an object.
code is
Session("name")=request(religion_list.selecteditem.text)
server.transfer("profile.aspx")
// then call
religion.selecteditem.Text = CStr(Session("name"))
Session.Remove("name")
plz help me to solve this
: System.NullReferenceException: Object reference not set to an instance of an object.
code is
Session("name")=request(religion_list.selecteditem.text)
server.transfer("profile.aspx")
// then call
religion.selecteditem.Text = CStr(Session("name"))
Session.Remove("name")
plz help me to solve this
•
•
Join Date: Mar 2006
Posts: 11
Reputation:
Solved Threads: 0
•
•
•
•
Originally Posted by vaisakh
i created a session variable and try to call it on page load on another page the following error occur
: System.NullReferenceException: Object reference not set to an instance of an object.
code is
Session("name")=request(religion_list.selecteditem.text)
server.transfer("profile.aspx")
// then call
religion.selecteditem.Text = CStr(Session("name"))
Session.Remove("name")
plz help me to solve this
: System.NullReferenceException: Object reference not set to an instance of an object.
how should i create the instance plz
religion.selecteditem.Text = CStr(Session("name"))
Session.Remove("name")
•
•
Join Date: Mar 2006
Posts: 84
Reputation:
Solved Threads: 1
man i think ur problem isnt in the session object but this one religion.selecteditem.Text
this object is it created in ur second page?
coz the error means u havent created an instance of object.
about the session, as i told u.
u can declare and create a one only by the following code:
session("x") = something
sam
this object is it created in ur second page?
coz the error means u havent created an instance of object.
about the session, as i told u.
u can declare and create a one only by the following code:
session("x") = something
sam
![]() |
Similar Threads
- PLEASE HELP ! " GENERIC HOST PROCESS FOR WIN 32 " error =[ ! (Viruses, Spyware and other Nasties)
- friend plz help me to solve this problem (C++)
- plz friends help me (C++)
- please help me solve my matlab prob (Computer Science)
- x850XT or GeForce 6800 Ultra? (Monitors, Displays and Video Cards)
- Page Cannot Be Displayed/... PLZ HELP? (Windows NT / 2000 / XP)
- Need some help plz; ima newb (not sure how to catagorize this particular prob) (C++)
Other Threads in the ASP.NET Forum
- Previous Thread: COM+ error message
- Next Thread: concatinate date values
| Thread Tools | Search this Thread |
.net 2.0 3.5 activexcontrol advice ajax appliances asp asp.net bc30451 beginner bottomasp.net box browser businesslogiclayer button c# c#gridviewcolumn cac checkbox class click compatible confirmationcodegeneration content contenttype control countryselector courier css database datagrid datagridview datagridviewcheckbox datalist deadlock deployment development dgv dialog dropdownmenu dynamic edit embeddingactivexcontrol fileuploader findcontrol flash flv forms gridview gudi homeedition iframe iis javascript jquery list menu mono mssql multistepregistration nameisnotdeclared novell objects order problem ratings redirect registration relationaldatabases rotatepage save search security serializesmo.table sessionvariables silverlight smartcard sql ssl suse textbox tracking treeview unauthorized validatedate validation vb.net video virtualdirectory vista visual-studio visualstudio vs2008 web webarchitecture webdevelopemnt webdevelopment wizard xml





