How to handle this exception
Operator '>' is not defined for the 'DBNull' and type integer.
I am handling DBNull
like this in my code.
rsGrp.Rows(i).Item("Dr") = IIf(
rsTemp.Rows(0).Item("Debit") Is Nothing Or
rsTemp.Rows(0).Item("Debit") Is DBNull.Value,
0,
rsTemp.Rows(0).Item("Debit"))