I have an datatable ( _dataTableAvailable) that has the folowing values:
Name Id Selected
- Global 2100 False
ASpecial 1200 False
BSpecial 2300 False
GSpecial 400 False
After I used the folowwing code:
DataView dataViewAvailable = new DataView(_dataTableAvailable, "selected=False", "name", DataViewRowState.CurrentRows);
The sort order is changed!!
Name Id Selected
ASpecial 1200 False
BSpecial 2300 False
- Global 2100 False
GSpecial 400 False
What I want is that I get the same order. How can I do this?
I use visual studio 2005 (C# 2.0).