Sorting a GridView

Posted by Markus on Stack Overflow See other posts from Stack Overflow or by Markus
Published on 2010-04-01T13:39:43Z Indexed on 2010/04/01 13:43 UTC
Read the original article Hit count: 320

Filed under:

Hi, I have a question regarding GridView windows forms control. As a datasource, I am using a DataTable object. When the grid view is sorted, the DataTable's row indices are not sorted. In this way, when accessing the DataTable using indices from GridView, I get the unexpected rows. How can this situation be handled?

© Stack Overflow or respective owner

Related posts about winforms