Using DataView or Select expression on a DataTable to filter distinct records

  • Thread starter Thread starter John Walsch
  • Start date Start date
J

John Walsch

From the brief research that I have done, nothing is mentioned about
being able to filter out distinct records from a DataTable using
DataView or
or using the select method like: someDataTable.Select() =
someExpression.

Because I need my DataTable to contain all the records, but I only
want to show distinct records, I have a for loop and some register
variables that test whether current record is distinct or not. This
method works the way I want to, but is there a better way to do it
using a DataView or the select method as mentioned above?

Thank You,
John
 
Back
Top