G
Guest
I have a DataTable that I want to sort, the Call_Sort_Order is an Int16.
The order of rows to start with is 1, 2, 3, 5, 4 and is exactly the same after the sort.
Example Code:
dtCalls.DefaultView.Sort = "Call_Sort_Order"
I've even tried applying a filter:
dtCalls.DefaultView.RowFilter = "Call_Sort_Order >= 3"
This doesn't work either.
I have also tried, without effect:
Dim dv As New DataView(dtCalls, "", "Call_Sort_Order", DataViewRowState.OriginalRows)
Does anyone have an ideas what I am doing wrong?
Thanks in advance.
Chris.
The order of rows to start with is 1, 2, 3, 5, 4 and is exactly the same after the sort.
Example Code:
dtCalls.DefaultView.Sort = "Call_Sort_Order"
I've even tried applying a filter:
dtCalls.DefaultView.RowFilter = "Call_Sort_Order >= 3"
This doesn't work either.
I have also tried, without effect:
Dim dv As New DataView(dtCalls, "", "Call_Sort_Order", DataViewRowState.OriginalRows)
Does anyone have an ideas what I am doing wrong?
Thanks in advance.
Chris.