How to fix Error
"NullReferenceException was unhandled Error."
An unhandled exception of type 'System.NullReferenceException'
occurred in projectCS.exe
Additional information: Object reference not set to an instance of an object.
After you figure this out, fix the code: either make sure the member/variable is properly initialized to a non-null reference, or check it for null and, in case of null, do something else. ... but got an error in if condition of next record function "object reference not set to an instance of an object
Don't forget to subscribe
For Any Question Post Comment or Email me:
khaliqdadmohmand@gmail.com
0 Comments