473,320 Members | 2,202 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

MCMS ChannelItem.StartDate

(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>
Nov 17 '05 #1
1 1195
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>

Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Nongetjie | last post by:
Hi, I'm currently busy with developing a website in MCMS 2002. On this website I need to have a reaction form, from which the input needs to be mailed to an emailadress. I've tried the...
1
by: jademoon | last post by:
I am having problems since we built a new Exchange Server 2003 (member server) and removed the Exchange 2000 (member server) from out network. The error comes about when an MCMS Author "submits" a...
0
by: michdoh | last post by:
HI All We are running mcms 2002 on framework 1.1 SQL 2000 on windows 2000 servers. It's a load balanced pair of servers using windows NLB writing the session to an SQL shared DB. We are...
1
by: Anthony | last post by:
Hi, I originally posted this question in the Microsoft Content Management Server (MCMS) newsgroup but was told to post here. In my MCMS site, I've written an "admin" page that sends out emails...
3
by: Mark B | last post by:
I have an MCMS website that I inherited. It was originally built in .NET 1.1 and then ported to .NET 2.0. They built it with inherited base classes to mimic what is now done with master pages. ...
2
by: =?Utf-8?B?U2hvb3Rlcg==?= | last post by:
Hi, We have an MCMS Site displaying content in ten different languages. The problem is that when any other language is being used bar english the title which is set to a placeholder is...
1
by: ndindi22 | last post by:
Can someone plz help me. I'm working on leave application, have to calculate number of leave days available, starting from Startdate to Enddate of a contract. Where an employee get 1 day leave...
2
by: sd_eds | last post by:
I have a startdate-enddate dropdown in asp that works great on my development machine (XP Pro IIS5) but when I port it over to the web server (Win Server 2003, IIS6), I do not get the desired...
7
hodgeman
by: hodgeman | last post by:
Hello thescripts forums users... I've found a lot of answers to problems I've had in the past from this forum, and this is the first mySQL query issue I haven't been able to find an answer from...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.