Home All Groups Group Topic Archive Search About

Underlying (SQL Server) DataTypes for Columns in a DataSet?

Author
1 Nov 2007 7:41 PM
TBQ
I have an application that allows the user to enter any number of (SQL
Server) select statements in a text box, execute the "script" and work with
the resulting data.  Due to the multiple queries, I use a SqlDataAdapter.Fill
to get the dataset as opposed to a DataReader.

I need to use another library that requires the *SQL Server datatype*
specification (preferably as a string) for the columns in the DataSet.  Since
I don't really know where the result columns are coming from, I can't just
inspect the database schema directly.

Any suggestions?

AddThis Social Bookmark Button