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

Re: Using DataView or Select expression on a DataTable to filter distinct records by William

William
Thu Jul 08 09:06:30 CDT 2004

This is pretty much the default method I've used
http://support.microsoft.com/default.aspx?scid=kb;en-us;326176

--

W.G. Ryan, eMVP

Have an opinion on the effectiveness of Microsoft Embedded newsgroups?
Let Microsoft know!
https://www.windowsembeddedeval.com/community/newsgroups
"John Walsch" <johnwalsch@nyc.com> wrote in message
news:5875580c.0407080544.1d0f6a67@posting.google.com...
> 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