DataTable.Select

  • Thread starter Thread starter Guest
  • Start date Start date
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!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top