Hi Peeps,
I have a dataset and want to know the data type of a specific column. The GetType returns datacolumn not string or integer etc. Does anyone know how I can do this?
Thanks for all your help,
Jiggy!
Printable View
Hi Peeps,
I have a dataset and want to know the data type of a specific column. The GetType returns datacolumn not string or integer etc. Does anyone know how I can do this?
Thanks for all your help,
Jiggy!
Try this..
Code:Dataset1.Tables.Columns("column").DataType
Thank you for that; I ended up declaring a datacolumn and assigning the column to it and then doing dccolumn.datatype.name.
Thanks again.