Thanks very much, Mark, you really solved my problem.
Take care!
Luqman
> >I have One Dataset with Invoice Data for 5 Customers.
> >
[quoted text clipped - 20 lines]
> ASP.NET MVP
> http://www.markrae.net
Hi,
Just one question left, can I distinctly get the CustomerID from Dataset for
5 Customers, to fill in a Combo List, just 5 CustomerIDs from Invoice
Dataset ?
Just like this query : Select distinct CustomerID from InvoiceTable
Any idea please ?
Best Regards,
Luqman
> Thanks very much, Mark, you really solved my problem.
>
[quoted text clipped - 28 lines]
> > ASP.NET MVP
> > http://www.markrae.net
Mark Rae [MVP] - 05 Dec 2007 13:21 GMT
> Just one question left, can I distinctly get the CustomerID from Dataset
> for
> 5 Customers, to fill in a Combo List, just 5 CustomerIDs from Invoice
> Dataset ?
>
> Just like this query : Select distinct CustomerID from InvoiceTable
In 3.5 you can do this very easily with LINQ...
Otherwise: http://www.codeproject.com/KB/grid/DistinctIDsDataSet.aspx

Signature
Mark Rae
ASP.NET MVP
http://www.markrae.net