I have a DataSet filled from a previous query to the database. I need to
get the distinct values from a field in the DataSet. Is there a way to
acheive this without going through the DataTable or by hitting again the
database?

TIA

Re: How to select distinct values by Patrice

Patrice
Wed Mar 09 10:04:57 CST 2005

How could it find without doing one or the other ? My personal preference
would be to select this server side (I would say generally this is because
you want a codification table you could select at the same time resulting in
filling two tables instead of a single table in yur dataset).

If you prefer the other way :
http://support.microsoft.com/default.aspx?scid=kb;en-us;326176





Patrice



--

"Sylvain Larin" <slarin@NOSPAM_gmail.com> a écrit dans le message de
news:O5MhqxLJFHA.3916@TK2MSFTNGP14.phx.gbl...
> I have a DataSet filled from a previous query to the database. I need to
> get the distinct values from a field in the DataSet. Is there a way to
> acheive this without going through the DataTable or by hitting again the
> database?
>
> TIA



Re: How to select distinct values by Robert

Robert
Wed Mar 09 11:15:26 CST 2005

I used the described method by Microsoft...DataSetHelper Class.
Worked fine.

--
Message posted via http://www.dotnetmonster.com