Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to select distinct values
Message
From
09/03/2005 13:16:43
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, California, United States
 
 
To
09/03/2005 10:25:20
General information
Forum:
ASP.NET
Category:
ADO.NET
Environment versions
Environment:
C# 1.1
OS:
Windows 2000 SP4
Network:
Windows NT
Database:
MS SQL Server
Miscellaneous
Thread ID:
00994010
Message ID:
00994091
Views:
16
This message has been marked as a message which has helped to the initial question of the thread.
Hello Sylvain,

In addition to Bonnie's suggestion, look at the help topics for DataTable.Select -- as long as you're using a simple WHERE-ish filter command, this will prevent you from having to create a dataview or "scan" the datatable in its entirety.

Hope that helps, too
---J

>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
Previous
Reply
Map
View

Click here to load this message in the networking platform