Thursday, December 13, 2012

Exception: Nullable object must have a value.

Exception: If you receive this error, it means you are trying to get a value from nullable object which has no values assigned.

Fix: To fix this you can check HasValue property before accessing the value

No comments:

Post a Comment