J
Joe
I have data types stored in a field in a database and would like to use
something similar to GetType when reading these values.
string datatype = dr["DataTypeColumn"]
// something like this would be nice.
ConvertStringToCorrectDataType(datatype);
I guess I could just list all the string values of the data types and do a
comparision but I thought there would be some kind of built in method for
this.
Thanks,
Joe
something similar to GetType when reading these values.
string datatype = dr["DataTypeColumn"]
// something like this would be nice.
ConvertStringToCorrectDataType(datatype);
I guess I could just list all the string values of the data types and do a
comparision but I thought there would be some kind of built in method for
this.
Thanks,
Joe