DataTypes

  • Thread starter Thread starter Jim Heavey
  • Start date Start date
J

Jim Heavey

If I am building a DataTable for a SQL Result set and I have SQL datatype
of
Binary
Image
SmallMoney
VarBinary

and setting the dataTable.Column.Type property, what "Type" do I set it to?

Thanks in advance for your assistance!!!!!!
 
Jim Heavey said:
If I am building a DataTable for a SQL Result set and I have SQL datatype
of
Binary
Image
SmallMoney
VarBinary

and setting the dataTable.Column.Type property, what "Type" do I set it to?

Have a look at the SqlDbType enumeration - it says what maps to what.
 
Back
Top