Hello Neeraj, The error - "Object reference not set to an instance of an object" is a very common error which is generated whenever we try to access any property of a null (or nothing) object.
In other words, we get this error if we try to set/get any property of an object which is not instantiated or created.
As
Wes Aday[
^] suggested, you have to debug your code to identify where the issue is. There is no other way around and no one can solve this but yourself.
Please let me know in case you have any further query.
- DD