-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: Senthil-Maverick
Message 3 in Discussion
HI yu can use the arraylist.sort method for sorting yur aray list . there is a
default comparer inside the array list which lets yu to sort teh values in the way yu
need. also yu can also have a custom comparer for reversing the order of the sort.
have an array list like this :
ArrayList myLst = new ArrayList();
myLst .Add( "A" );
myLst .Add( "B" );
myLst .Add( "C" );
myLst .Add( "D" ); now if yu add the sort method , myLst .sort the list wil
be sorted .if yu wanted to do a specific sort yu can use the comparer and reverse
comparer classes as said by shamir.... if yu wanted to do for a teh datgrid, then sort
the aray list in the way yu needed before itself . and then create the data objects
then assign to the grid. ,,, Senthil
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/BDotNet/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you received
this message by mistake, please click the "Remove" link below. On the pre-addressed
e-mail message that opens, simply click "Send". Your e-mail address will be deleted
from this group's mailing list.
mailto:[EMAIL PROTECTED]