I'm trying to convert some code that was written against the Telerik RadGrid control to work with the built-in GridView control.
This line gets the DataType of the column you're sorting on using the RadGrid control.
_sortBy.DataType = Grid.Columns.FindByDataField(e.SortExpression).DataType;
I'm trying to do the same thing using the standard .NET GridView Control.
How do you get the DataType of the column you're sorting on?
Thanks in advance.