how to make ASP.NET datagridview sort number correctly?
<p>I have bound a table to a gridview with autogenerated columns. First db column is numerical id. But viewgrid sorts the html column as if it was character type (1, 2, 213, 4,...).</p>

<p>How to make it take into account data type ?</p>
