Hi all,
Please help me in this code:
txtLastNameFM.T ext = IIf(dgFamilyMem ber.CurrentRow. Cells(3).Equals (System.DBNull. Value), "", dgFamilyMember. CurrentRow.Cell s(3).Value)
this is an error I get:
Conversion from type 'DBNull' to type 'String' is not valid.
I know the value of the dgFamilyMember. CurrentRow.Cell s(3).Value= null but the first part of the iif returns false! What is wrong here?
I need to check the value of dgFamilyMember. CurrentRow.Cell s(3).Value) to see if it is Null I need to fill txtlastname.tex t by "" otherwise I want to have the dgFamilyMember. CurrentRow.Cell s(3).Value in that textbox.
Please help me.
Please help me in this code:
txtLastNameFM.T ext = IIf(dgFamilyMem ber.CurrentRow. Cells(3).Equals (System.DBNull. Value), "", dgFamilyMember. CurrentRow.Cell s(3).Value)
this is an error I get:
Conversion from type 'DBNull' to type 'String' is not valid.
I know the value of the dgFamilyMember. CurrentRow.Cell s(3).Value= null but the first part of the iif returns false! What is wrong here?
I need to check the value of dgFamilyMember. CurrentRow.Cell s(3).Value) to see if it is Null I need to fill txtlastname.tex t by "" otherwise I want to have the dgFamilyMember. CurrentRow.Cell s(3).Value in that textbox.
Please help me.
Comment