I am loading values from a database record into a class. One of the class properties is an int, which corresponds to an int fiel in the database.
However, sometimes the DB value in null, which causes an exception when assigning the value to the class property.
What is the standard proceure for dealing with this problem?
Thanks
However, sometimes the DB value in null, which causes an exception when assigning the value to the class property.
What is the standard proceure for dealing with this problem?
Thanks
Comment