1
Reply

Changing data type of field of datagridview after setting data source

sumaa shabeeb

sumaa shabeeb

Sep 9 2010 5:32 AM
2.1k

Hi

I am working in C#.NET. I have a datagridview and a data table has been set as its data source. Data table is the output of select query (sql) and there is a column named date whose data type is datetime. Now after setting data source I needed to change the data type of corresponding column of grid to string. Anyone know about it?

 

                         Thanks in advance


Answers (1)