Click here to Skip to main content
14,265,982 members

ASP.NET Guestbook Application

Rate this:
3.44 (15 votes)
Please Sign up or sign in to vote.
3.44 (15 votes)
26 Jan 2002CPOL
A one-to-one ASP to ASP.NET port of a simple guestbook application using ASP and an Access database


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


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.


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
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 has also teached programming to students at the local university.

In his free time, he does climbing, running and mountain biking. Recently he became a father of a cute boy.

Some cool, free software from us:

Deutschsprachiges Forum zu Elektromobilität und Tesla  
Windows 10 Ereignisanzeige  
German Developer Community  
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

Comments and Discussions

GeneralTest Pin
24-May-02 15:01
suss24-May-02 15:01 
GeneralTesting Your Guestbook Pin
27-Feb-02 8:23
suss27-Feb-02 8:23 
GeneralRe: Testing Your Guestbook Pin
27-Feb-02 14:58
suss27-Feb-02 14:58 
GeneralRe: Testing Your Guestbook Pin
need4agoodfreind8-Jan-03 1:17
memberneed4agoodfreind8-Jan-03 1:17 
GeneralRe: Testing Your Guestbook Pin
Ckodl8-Jan-03 1:17
sussCkodl8-Jan-03 1:17 
GeneralRe: Testing Your Guestbook Pin
Anonymous22-Jun-05 18:13
memberAnonymous22-Jun-05 18:13 
GeneralRe: Testing Your Guestbook Pin
Anonymous29-Jan-03 1:15
memberAnonymous29-Jan-03 1:15 
GeneralRe: Testing Your Guestbook Pin
MCApreeti24-Aug-05 8:57
memberMCApreeti24-Aug-05 8:57 

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

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

Posted 26 Jan 2002


67 bookmarked