Click here to Skip to main content
15,121,414 members
Articles / Web Development / ASP.NET
Posted 26 Jan 2002


67 bookmarked

ASP.NET Guestbook Application

Rate me:
Please Sign up or sign in to vote.
3.44/5 (15 votes)
26 Jan 2002CPOL1 min read
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

QuestionNewbie question here Pin
ArlanT6-Jun-07 17:55
MemberArlanT6-Jun-07 17:55 
GeneralAdministration mode Pin
rymdspiff12-Aug-06 18:21
Memberrymdspiff12-Aug-06 18:21 
GeneralRe: Administration mode Pin
Uwe Keim12-Aug-06 21:49
sitebuilderUwe Keim12-Aug-06 21:49 
GeneralRe: Administration mode Pin
rymdspiff13-Aug-06 2:45
Memberrymdspiff13-Aug-06 2:45 
Generalanother serious comment Pin
themosk2-Jun-06 10:09
Memberthemosk2-Jun-06 10:09 
GeneralEmbed your code in a master page Pin
anderslundsgard27-Dec-05 11:33
Memberanderslundsgard27-Dec-05 11:33 
GeneralRe: Embed your code in a master page Pin
Uwe Keim27-Dec-05 19:31
sitebuilderUwe Keim27-Dec-05 19:31 
GeneralAuthentication mode Pin
coolooc17-Sep-04 7:10
Membercoolooc17-Sep-04 7:10 
GeneralMeat Pizza Pin
Cameron Pulcifer21-May-04 9:52
MemberCameron Pulcifer21-May-04 9:52 
GeneralRe: Meat Pizza Pin
theluk12-Feb-09 1:21
Membertheluk12-Feb-09 1:21 
GeneralI guess I'll post the first real comment Pin
Marc Clifton8-Mar-04 17:19
mvaMarc Clifton8-Mar-04 17:19 
GeneralRe: I guess I'll post the first real comment Pin
Uwe Keim9-Mar-04 0:13
sitebuilderUwe Keim9-Mar-04 0:13 
GeneralRe: I guess I'll post the first real comment Pin
TeleStar16-Mar-04 22:02
MemberTeleStar16-Mar-04 22:02 
GeneralFunny Pin
Anthony_Yio30-Nov-03 15:46
MemberAnthony_Yio30-Nov-03 15:46 
GeneralRe: Funny Pin
Uwe Keim30-Nov-03 21:22
sitebuilderUwe Keim30-Nov-03 21:22 
Generaluyuyy Pin
uyuuyuyuyuttt15-Sep-03 6:02
sussuyuuyuyuyuttt15-Sep-03 6:02 
Generaltest Pin
Anonymous25-Aug-03 2:23
MemberAnonymous25-Aug-03 2:23 
Generalaaa Pin
Anonymous9-Jul-03 23:35
MemberAnonymous9-Jul-03 23:35 
Generaltest Pin
Anonymous8-Jul-03 22:53
MemberAnonymous8-Jul-03 22:53 
GeneralRe: test Pin
Anonymous8-Jul-03 22:54
MemberAnonymous8-Jul-03 22:54 
GeneralRe: test Pin
Anonymous9-Jul-03 22:40
MemberAnonymous9-Jul-03 22:40 
GeneralRe: test Pin
Anonymous9-Jul-03 22:39
MemberAnonymous9-Jul-03 22:39 
QuestionFlugzeugträger??? Pin
Anonymous27-Jun-03 13:12
MemberAnonymous27-Jun-03 13:12 
Generalcool Pin
Ritchy17-Dec-02 11:36
MemberRitchy17-Dec-02 11:36 
GeneralHello!! Pin
jacksonlluberes28-Oct-02 18:26
Memberjacksonlluberes28-Oct-02 18:26 

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.