Ray,
It depends on what the ChannelItem instances are stored in. You can
just put them all in an array, then pass it to the static Sort method on the
Array class. You would have to implement the IComparer interface and then
access the ChannelItem instances in the implementation, determining which is
more recent.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Ray S via .NET 247" <an*******@dotnet247.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
(Type your message here)
Can anyone show me how to sort items using ChannelItem.StartDate property.
I need to sort items so that the most recent items is at the top.
Thanks
--------------------------------
From: Ray S
-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)
<Id>694dVbfX7k2C9kz0okaWUA==</Id>