G
Guest
Hi All,
I need to loop through a sorted datatable. Looping is not a problem, but
sorting is.
The datacolumns on which I want to sort, exists of numbers, which causes the
10 to appear before the 2.
This is the code I use to sort the table
DataRow[] drarray = myTable.Select("", "VerticalPosition asc,
HorizontalPosition asc", DataViewRowState.CurrentRows);
Anyone an idea how I can sort the table correctly?
Thanks in Advance,
Michel
I need to loop through a sorted datatable. Looping is not a problem, but
sorting is.
The datacolumns on which I want to sort, exists of numbers, which causes the
10 to appear before the 2.
This is the code I use to sort the table
DataRow[] drarray = myTable.Select("", "VerticalPosition asc,
HorizontalPosition asc", DataViewRowState.CurrentRows);
Anyone an idea how I can sort the table correctly?
Thanks in Advance,
Michel