Click here to Skip to main content
15,938,122 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Object reference not set to an instance of an object.
Posted
Comments
member33 1-Aug-14 10:46am    
this wont help ..unless u show us code n where the error is

To clear this error
-Initialize all the variables and objects.
-Check for the null values before doing any process with a variable/object.
-Check the count value before using a collection.

It will help you for sure.
 
Share this answer
 
Basically you will get this error when you are working with an object which is NULL.
Please refer Here[^]

You can find so many answers.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900