R
Rick
How to I get the Exception Number (code) for a database related error?
I get the following error and I need to catch it to display a custom message.
System.InvalidCastException: Unable to cast object of type 'System.DBNull'
to type 'System.Byte
I get the following error and I need to catch it to display a custom message.
System.InvalidCastException: Unable to cast object of type 'System.DBNull'
to type 'System.Byte