TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Ron Robinson
NA
1
0
How to test Session[] exists/!exists without error
Nov 7 2005 3:19 PM
in a web app:
if
(Session["id"].ToString() == "")
{}
compiles ok but at run time generates:
[NullReferenceException: Object reference not set to an instance of an object.]
cart.cart.Page_Load(Object sender, EventArgs e) in c:\documents and settings\ron robinson\vswebcache\bubba.cartsppt.com\index.aspx.cs:61
Any ideas on how to avoid this?
Ron Robinson
[email protected]
Reply
Answers (
0
)
Datagrid - adding a new row
Which .NET Control to use??