10-07-04 12:47 PM
Thx both of u, I have made it work, thx very much for your patients!!!
"Stefan [MSFT]" <stefang@online.microsoft.com> ¦b¶l¥ó
news:edYreaErEHA.2732@TK2MSFTNGP09.phx.gbl ¤¤¼¶¼g...
> And to put the latest to the top, use
>
> PostingCollection pc = CmsHttpContext.Current.Channel.Postings;
> pc.SortByLastModifiedDate;
>
> foreach(Posting IterativePosting in pc)
> {
> String Title =
> (HtmlPlaceholder)IterativePosting.Placeholders["Title"].Value;
> }
>
> Cheers,
> Stefan
>
> --
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>
> MCMS FAQ:
>
> MCMS Blog: [url]http://blogs.msdn.com/stefan_gossner/category/4983.aspx" target="_blank">http://download.microsoft.com/downl...egory/4983.aspx
> MCMS Sample Code:
>
http://www.gotdotnet.com/community/...
+Server
> MCMS Whitepapers and other docs:
> http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx
> --------------------------------
>
>
> "Angus Logan [MVP]" <angus_logan@data3.com.au> wrote in message
> news:#4zXzJErEHA.1152@TK2MSFTNGP11.phx.gbl...
>
(HtmlPlaceholder)CmsHttpContext.Current.Posting.Placeholders["Title"].Value
> CmsHttpContext.Current.Channel.Postings)
showing[vbcol=seagreen]
the[vbcol=seagreen]
latest[vbcol=seagreen]
> to
me[vbcol=seagreen]
> a
>
>
[ Post a follow-up to this message ]
|