V
Vicenç Masanas
I need to know the correct SqlDbType of a column to use it in a dinamically
build parametrized sqlCommand.
As I can see when I build a parameter it expects a System.Data.SqlDbType but
if I look at the DataType property of a column in a table in a dataset I get
a diferent 'type' of data.
Is there a way to derive the SqlDbType from the dataset.datatable.column
datatype?
Vicenc
build parametrized sqlCommand.
As I can see when I build a parameter it expects a System.Data.SqlDbType but
if I look at the DataType property of a column in a table in a dataset I get
a diferent 'type' of data.
Is there a way to derive the SqlDbType from the dataset.datatable.column
datatype?
Vicenc