I am trying to sort on a datatable in vb.net 2003 but the sorting is not working. I use the following code "DTPROD.DefaultView.Sort = ("Animal, DPROD DESC")".
When I view the information in a datagrid sorting is done. If I use a loop to check my column my datatable "Animal" is not sorted.
Is there someone who can explain why I see the sorts in the datagrid although my loop on my datatable gives me no rows sorted?
Bookmarks