D
Dan Keeley
Hi,
This is probably not a dotnet specific issue, however i'm using dotnet so
here goes,.
I'm setting a text value of a field like so:
txtFax.Text = currentRow("FaxNumber")
However depending on the row, this value may be null.
This throws an exception because "Cast from type DBNULL to type String is
not valid"
Whats the proper way to deal with this?
Do i really have check the returned value for every field and substitute ""
where necessary?
Thanks,
Dan
This is probably not a dotnet specific issue, however i'm using dotnet so
here goes,.
I'm setting a text value of a field like so:
txtFax.Text = currentRow("FaxNumber")
However depending on the row, this value may be null.
This throws an exception because "Cast from type DBNULL to type String is
not valid"
Whats the proper way to deal with this?
Do i really have check the returned value for every field and substitute ""
where necessary?
Thanks,
Dan