G
Guest
Hi,
I have a DataTable that I am attempting to sort using Datatable.Select and
for some reason the sort is not working correctly. It is putting the row
that should be first at the end (as the last row). For example if I have a
Datatable myTable with the data
ID Name
----------------------------
1 Card
2 Clergy Call
3 Clergy Visit
4 Transportation
and I do myTable.Select("","Name") for some reason it returns the following:
ID Name
----------------------------
2 Clergy Call
3 Clergy Visit
4 Transportation
1 Card
Does anyone know why this might be happening? Any help would be appreciated!
I have a DataTable that I am attempting to sort using Datatable.Select and
for some reason the sort is not working correctly. It is putting the row
that should be first at the end (as the last row). For example if I have a
Datatable myTable with the data
ID Name
----------------------------
1 Card
2 Clergy Call
3 Clergy Visit
4 Transportation
and I do myTable.Select("","Name") for some reason it returns the following:
ID Name
----------------------------
2 Clergy Call
3 Clergy Visit
4 Transportation
1 Card
Does anyone know why this might be happening? Any help would be appreciated!