ASP 101 - Active Server Pages 101 - Web04
The Place ASP Developers Go!



Windows Technology Windows Technology
15 Seconds
4GuysFromRolla.com
ASP 101
ASP Wire
VB Forums
VB Wire
WinDrivers.com
internet.commerce internet.commerce
Partners & Affiliates
ASP 101 is an
internet.com site
ASP 101 is an internet.com site
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

ASP 101 News Flash ASP 101 News Flash





ASP.NET version of "Guestbook (Newest Items First)"


This sample is very much like our original ASP.NET Guestbook sample except that it places the new entries at the top instead of at the bottom. I know it doesn't sound like much, but you'd be amazed at how many requests I get for this simple variation.

The file format actually remains unchanged... the only difference is in the code that actually displays the entries. In order to illustrate the change in order, this version also displays the time and date information along with each entry.

Here's a zip file of the code (4.8 KB). I've also included the XML and XSD files the script uses as well as the original version of the Guestbook (guestbook.aspx) for comparison.

Play with the running version.

View the live source code.


Back to the "Guestbook (Newest Items First)" sample


Samples

Home |  News |  Samples |  Articles |  Lessons |  Resources |  Forum |  Links |  Search |  Feedback

Internet.com
The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers