Click here to Skip to main content
Licence CPOL
First Posted 26 Jan 2002
Views 399,555
Downloads 5,069
Bookmarked 66 times

ASP.NET Guestbook Application

By | 26 Jan 2002 | Article
A one-to-one ASP to ASP.NET port of a simple guestbook application using ASP and an Access database
 
Part of The SQL Zone sponsored by
See Also

Overview

This is a 1:1 port (regarding functionality) of my guestbook application written in VBScript for ASP, to a C# application written for ASP.NET.

Therefore, all the descriptions of the mentioned original guestbook article apply to this article as well. I will quote the most important facts here.

The guestbook has the following main-functionality:

  • Display entries with author-name, e-mail, date and text
  • Administration mode: delete entries
  • Navigation: jump to first page, last page, previous page, next page, discrete pages

The sample is ready-to-use. As-few-as-possible HTML-formatting (e.g., fonts) is done in order to keep it clear. You could modify the following things:

  • Change the language of the texts
  • Adjust the design to your needs
  • Extend the functionality

Details

All code was written in a single ASP.NET file. No CodeBehind was used in order to keep the number of files small. The web.config file should be optional but helps in debugging the application.

To install, create a virtual directory (and an IIS application, which normally is done automatically). Then, copy the files in this directory. That's all.

Of course, you need to have the .NET Framework (with ASP.NET and ADO.NET) installed.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

Uwe Keim

Chief Technology Officer
Zeta Producer Desktop CMS
Germany Germany

Member

Uwe does programming since 1989 with experiences in Assembler, C++, MFC and lots of web- and database stuff and now uses ASP.NET and C# extensively, too. He is also teached programming to students at the local university.
 
In his free time, he does climbing, running and mountain biking. You can watch him most of the day (and probably night) programming.
 
Some cool, free software from us:
 
Free Test Management Software - Intuitive, competitive, Test Plans. Download now!  
Homepage erstellen - Intuitive, very easy to use. Download now!  
Send large Files online for free by Email
Some random fun stuff in German


Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
QuestionNewbie question here PinmemberArlanT16:55 6 Jun '07  
GeneralAdministration mode Pinmemberrymdspiff17:21 12 Aug '06  
GeneralRe: Administration mode PinsitebuilderUwe Keim20:49 12 Aug '06  
GeneralRe: Administration mode Pinmemberrymdspiff1:45 13 Aug '06  
Generalanother serious comment Pinmemberthemosk9:09 2 Jun '06  
GeneralEmbed your code in a master page Pinmemberd00_ape10:33 27 Dec '05  
I've just fall in love with ASP.NET 2.0 and masterpages.
I've manage to run the sample but when I put the your code into a content of a masterpage the page looks good but I can't do any inserts ito the DB...
Any idea of whats wrong?
 
_____________________________
 
...and justice for all
 
APe
GeneralRe: Embed your code in a master page PinsitebuilderUwe Keim18:31 27 Dec '05  
GeneralAuthentication mode Pinmembercoolooc6:10 17 Sep '04  
GeneralMeat Pizza PinmemberCameron Pulcifer8:52 21 May '04  
GeneralRe: Meat Pizza Pinmembertheluk0:21 12 Feb '09  
GeneralI guess I'll post the first real comment PineditorMarc Clifton16:19 8 Mar '04  
GeneralRe: I guess I'll post the first real comment PinsitebuilderUwe Keim23:13 8 Mar '04  
GeneralRe: I guess I'll post the first real comment Pinmemberxxxyyyzzz21:02 16 Mar '04  
GeneralFunny PinmemberAnthony_Yio14:46 30 Nov '03  
GeneralRe: Funny PinsitebuilderUwe Keim20:22 30 Nov '03  
Generaluyuyy Pinsussuyuuyuyuyuttt5:02 15 Sep '03  
Generaltest PinsussAnonymous1:23 25 Aug '03  
Generalaaa PinsussAnonymous22:35 9 Jul '03  
Generaltest PinsussAnonymous21:53 8 Jul '03  
GeneralRe: test PinsussAnonymous21:54 8 Jul '03  
GeneralRe: test PinsussAnonymous21:40 9 Jul '03  
GeneralRe: test PinsussAnonymous21:39 9 Jul '03  
QuestionFlugzeugträger??? PinsussAnonymous12:12 27 Jun '03  
Generalcool PinmemberRitchy10:36 17 Dec '02  
GeneralHello!! Pinsussjack-uno-17:26 28 Oct '02  

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Mobile
Web01 | 2.5.120528.1 | Last Updated 27 Jan 2002
Article Copyright 2002 by Uwe Keim
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid