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.
 
Back
Top