This is te link:

http://msdn2.microsoft.com/en-us/library/bfcke1bz.aspx



-----Original Message-----
From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf 
Of Hevel, Shawn
Sent: Monday, September 18, 2006 14:04
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: Re: [ADVANCED-DOTNET] ArrayList Sort Method

Paul, this link is broken.  Do you have the new link?


Shawn Hevel, API, AIT
Lead Programmer Analyst
Information Technology Department
South Carolina Farm Bureau Insurance Companies
Phone: (803) 936-4331
Fax: (803) 936-4629
Work Email: [EMAIL PROTECTED]
Home Email: [EMAIL PROTECTED]


-----Original Message-----
From: Paul Cowan [mailto:[EMAIL PROTECTED] 
Sent: Saturday, September 16, 2006 7:24 AM
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: Re: [ADVANCED-DOTNET] ArrayList Sort Method

Don't forget there are the new generic predicate delegate in .net 2.0 which
is very cool:
 
http://msdn2.microsoft.com/en-us/library/[EMAIL PROTECTED]



> Date: Fri, 15 Sep 2006 14:10:49 -0400> From: [EMAIL PROTECTED]> Subject: Re:
[ADVANCED-DOTNET] ArrayList Sort Method> To:
ADVANCED-DOTNET@DISCUSS.DEVELOP.COM> >
http://msdn.microsoft.com/library/en-us/dnadvnet/html/vbnet01272004.asp?fram
> e=true> > > -----Original Message-----> From: Discussion of advanced .NET
topics.> [mailto:[EMAIL PROTECTED] Behalf Of Hevel,
Shawn> Sent: Friday, September 15, 2006 2:07 PM> To:
ADVANCED-DOTNET@DISCUSS.DEVELOP.COM> Subject: [ADVANCED-DOTNET] ArrayList
Sort Method> > > I have an unusual situation or at least I think I do.  I
need to sort an> ArrayList, but my ArrayList is made up of a class called
DocumentReference.> Inside this class are different properties that pertain
to a Document> (ReportId, VersionId, Description etc).  What I need to do is
sort this> based on certain criteria.  They only way I know how to do this
is by> building a temporary table with columns that pertain to each
property.  I> would then move the value of each property into the specified
column until> all properties are read.  Once all ArrayList members are read
I can create a> DataView from the DataSet and do the following:> > > >
dvTopicList.Sort = "VersionID DESC" or dvTopicList.Sort = "Description,>
ReportID"> > > > After the list is sorted, I would rebuild my ArrayList and
return this back> to the calling program.> > > > I know that ArrayList has a
sort method but I don't think it will work for> me.> > > > Does anyone have
any ideas about approaching this? or a better way of doing> it?> > > >
Thanks,> > > > Shawn Hevel, API, AIT> Lead Programmer Analyst> Information
Technology Department> South Carolina Farm Bureau Insurance Companies>
Phone: (803) 936-4331> Fax: (803) 936-4629> Work Email:
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> Home Email:
[EMAIL PROTECTED]> > > > > ===================================> This list
is hosted by DevelopMentor®  http://www.develop.com> > View archives and
manage your subscription(s) at http://discuss.develop.com> >
===================================> This list is hosted by DevelopMentor®
http://www.develop.com> > View archives and manage your subscription(s) at
http://discuss.develop.com
===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to