Thank you for ur answer and quick response .
I will try that method.
Thanks again.
"Doug Wilson"
<[EMAIL PROTECTED] To: <[EMAIL PROTECTED]>
> cc:
Subject: RE: [AspNetAnyQuestionIsOk]
Unique Records in a DataSet
05/24/2004
04:01 PM
Please respond
to
AspNetAnyQuest
ionIsOk
If you can find unique records in your datatable using a loop, then you
obviously have your search criteria.
You can call the data table's Select method to return an arraylist of
DataRow that match your search criteria.
C[#]
DataRow[] dr = myDataTable.Select("id = 4","Name DESC);
The Select method takes 2 params - the search criteria (string), and the
ordering criteria (string).
So, the above code will return an arraylist of datarows that have an id
value of 4, and order them by the column Name, descending.
Doug Wilson | Lead Applications Developer | iX Webhouse
iX Headoffice | Umhlanga, South Africa | Mobile: +2783 6412944
Tel: +2731 5669250 | Fax: +2731 5669260 | Email: mailto:[EMAIL PROTECTED]
_____
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 24 May 2004 09:52 AM
To: [EMAIL PROTECTED]
Subject: [AspNetAnyQuestionIsOk] Unique Records in a DataSet
Hi All,
Can anybody help me to find out the unique records in a DataSet quickly?
May be by using some property setting or method calling?
I know how to retreive unique records by using a loop.
Thanks in advance.
Mohan
Disclaimer:
The contents of this e-mail are strictly confidential and may be
privileged. It represents solely the views of the author and is meant only
for the stated recipient/s.
Any unauthorized distribution is strictly prohibited. F J Benjamin Group
or its subsidiaries will not accept responsibility for any damage caused by
this e-mail or
attachment/s (if any), which have been checked for viruses.
Please visit our website http://www.fjbenjamin.com
Yahoo! Groups Sponsor
ADVERTISEMENT
<
http://rd.yahoo.com/SIG=129q2s146/M=295196.4901138.6071305.3001176/D=groups
/S=1705006764:HM/EXP=1085471661/A=2128215/R=0/SIG=10se96mf6/*http:/companion
.yahoo.com> click here
<http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=groups/S
=
:HM/A=2128215/rand=399216459>
_____
Yahoo! Groups Links
* To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<
mailto:[EMAIL PROTECTED]
e>
* Your use of Yahoo! Groups is subject to the Yahoo!
<http://docs.yahoo.com/info/terms/> Terms of Service.
[Non-text portions of this message have been removed]
Yahoo! Groups Sponsor
ADVERTISEMENT
(Embedded image moved to file: pic00041.gif)
(Embedded image moved to file: pic18467.gif)
Yahoo! Groups Links
To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Disclaimer:
The contents of this e-mail are strictly confidential and may be
privileged. It represents solely the views of the author and is meant
only for the stated recipient/s.
Any unauthorized distribution is strictly prohibited. F J Benjamin
Group or its subsidiaries will not accept responsibility for any
damage caused by this e-mail or
attachment/s (if any), which have been checked for viruses.
Please visit our website http://www.fjbenjamin.com
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/saFolB/TM
---------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/