B
Bob Day
VS 2003, sql
How do you determine the data type of a column if its value is DBNull?
1)Table:
Column1 STRING non-nullable
2) Fill to a DataSet via DataAdapter
3) dim Data_Type_Is as object
Data_Type_Is = DataSet.DataTable(row1).column1??????????
I don't see how to get the data type. Things like gettype will give you the
type of the value, which would be DBNull if that is the value. I want to
get "STRING" back.
Please advise.
Bob Day
How do you determine the data type of a column if its value is DBNull?
1)Table:
Column1 STRING non-nullable
2) Fill to a DataSet via DataAdapter
3) dim Data_Type_Is as object
Data_Type_Is = DataSet.DataTable(row1).column1??????????
I don't see how to get the data type. Things like gettype will give you the
type of the value, which would be DBNull if that is the value. I want to
get "STRING" back.
Please advise.
Bob Day