A
Arjen
Hi,
Inside my method I'm using the using-statement for data access.
Before that, I create an object of a class. This works fine.
Inside the using-statement I set properties of the class (with the data from
the database).
Getting the data works.
Setting the data doesn't work. It say's:
System.NullReferenceException: Object reference not set to an instance of an
object.
What should I do?
Thanks!
Inside my method I'm using the using-statement for data access.
Before that, I create an object of a class. This works fine.
Inside the using-statement I set properties of the class (with the data from
the database).
Getting the data works.
Setting the data doesn't work. It say's:
System.NullReferenceException: Object reference not set to an instance of an
object.
What should I do?
Thanks!