G
Guest
How can you get the SQL DATA TYPE of a column in a DataSet. Now I am not talking about the System.Datatype but the SQL one. I am connecting Via SQL Server 2000
Under the Column dataType property (myDataSet.Tables("TEST").Columns(i).DataType.ToString) I get the System Type's such as System.Int64, System.Int32, etc... What I want is the SQL Data Type equivalent, such as SQLDBType.varChar, SQLDBType.nvarChar, etc..
Thanks
Under the Column dataType property (myDataSet.Tables("TEST").Columns(i).DataType.ToString) I get the System Type's such as System.Int64, System.Int32, etc... What I want is the SQL Data Type equivalent, such as SQLDBType.varChar, SQLDBType.nvarChar, etc..
Thanks