B
Brad Allison
I need some simple help. I am filling a dataset with a table (no relations) and then using a dataview's find method to find one record. Each record may contain up to six dates. When I get to a record that comes back with a NULL date, I get the following error:
Additional information: Cast from type 'DBNull' to type 'String' is not valid.
The line of code where this is happening is here:
txtUWPCH.Text = dvDogInfo(idxFound).Item("WPCHEarned")
If somebody can shed some light on using DBNull or whatever other process or logic I need thanks in advance.
Brad
Additional information: Cast from type 'DBNull' to type 'String' is not valid.
The line of code where this is happening is here:
txtUWPCH.Text = dvDogInfo(idxFound).Item("WPCHEarned")
If somebody can shed some light on using DBNull or whatever other process or logic I need thanks in advance.
Brad