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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top