Unique records from DataTable

  • Thread starter Thread starter Soren Staun Jorgensen
  • Start date Start date
S

Soren Staun Jorgensen

Hi,

How do i get unique records of a specific column in a DataTable - i dont
surpose i ts possible to use something like "select distinct" as in regular
SQL ??

Soren
 
I'm not sure this helps, but you can not do a Set operation on a filled datatable. You can, however, sort and/or filter the data in a datatable by using dataviews. If you know in advance that you may need to have distinct values from one column, you could create another datatable and use the values from that table. You can even create a link from one table to the second.
 

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