briancostea
Programmer
i just started getting the following error this week ... it was working fine for about 3 weeks until yesterday. any help would be greatly appreciated.
error:
System.InvalidCastException: Conversion from type 'DBNull' to type 'String' is not valid.
code:
txtCarAg.Attributes.Add("value", IIF(ObjDataReader("car") is dbNull.Value, "", replace(ObjDataReader("car"), "*", "'")))
thanks - brian
error:
System.InvalidCastException: Conversion from type 'DBNull' to type 'String' is not valid.
code:
txtCarAg.Attributes.Add("value", IIF(ObjDataReader("car") is dbNull.Value, "", replace(ObjDataReader("car"), "*", "'")))
thanks - brian