object reference not set to an instance of an object.............
when this problem arise?
rajni sharma
0
Newbie Poster
Recommended Answers
Jump to Postobject reference not set to an instance of an object.............
when this problem arise?in general OOP, if you are trying to access properties or methods of class without creating or instantiating object of that class then runtime throws this error. See the below code which throws error :
StringBuilder sbTest;
…
Jump to PostWhen you use sessions this error arises when there is no value to bind in Session and you use it somewhere else.
All 7 Replies
rohand
1
Posting Whiz in Training
Sals
0
Light Poster
rohand
1
Posting Whiz in Training
dnanetwork
18
Practically a Master Poster
Banned
rohand
1
Posting Whiz in Training
dnanetwork
18
Practically a Master Poster
Banned
rohand
1
Posting Whiz in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.