Here is the code that I have :
Expand|Select|Wrap|Line Numbers
- If Not Val(dgFamilyMember.Rows(i).Cells(15).Value).Equals(Val(publicFamilyMemebrDS.Tables(0).Rows(i).Item(15).ToString)) Then
- StrFMCommet &= " FM Group: " & publicFamilyMemebrDS.Tables(0).Rows(i).Item(14).ToString & ""
- StrFMCommet &= " Changed to " & dgFamilyMember.Rows(i).Cells(14).Value & " *** "
- If flagClientDetailFMUpdated = False Then UpdateClientDetails("FM")
- End If
Argument 'Expression' cannot be converted to type 'DBNull'.
I get this error and I don’t know how should I handle it I have the same code for 50 other fields.