locked
DBNull Error exception RRS feed

  • Question

  • User304988192 posted

    I am trying to store value from XSD column but getting DBNull exception error. When I tried to change the NullValue in XSD it is not allowing me to change it to Nothing . Any Suggestions how to handle this?

    I have already tried IsDBNull() and it doesn't work . the datatype of column is Decimal.

    Thursday, June 13, 2013 10:41 AM

Answers

  • User-359936451 posted

    check if it is equal to 0 (zero) since datatype is decimal.

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, June 18, 2013 4:41 PM