Click here to Skip to main content
11,573,408 members (48,066 online)
Click here to Skip to main content

ASP.NET Guestbook Application

, 26 Jan 2002 CPOL 447.3K 5.8K 67
Rate this:
Please Sign up or sign in to vote.
A one-to-one ASP to ASP.NET port of a simple guestbook application using ASP and an Access database

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)

Share

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:

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
Offline-Homepage-Baukasten

You may also be interested in...

Comments and Discussions

 
QuestionNewbie question here Pin
ArlanT6-Jun-07 16:55
memberArlanT6-Jun-07 16:55 
GeneralAdministration mode Pin
rymdspiff12-Aug-06 17:21
memberrymdspiff12-Aug-06 17:21 
GeneralRe: Administration mode Pin
Uwe Keim12-Aug-06 20:49
sitebuilderUwe Keim12-Aug-06 20:49 
GeneralRe: Administration mode Pin
rymdspiff13-Aug-06 1:45
memberrymdspiff13-Aug-06 1:45 
Generalanother serious comment Pin
themosk2-Jun-06 9:09
memberthemosk2-Jun-06 9:09 
The code itself is confusing even to look at, but it gets the work done Smile | :)

thnx!
GeneralEmbed your code in a master page Pin
d00_ape27-Dec-05 10:33
memberd00_ape27-Dec-05 10:33 
GeneralRe: Embed your code in a master page Pin
Uwe Keim27-Dec-05 18:31
sitebuilderUwe Keim27-Dec-05 18:31 
GeneralAuthentication mode Pin
coolooc17-Sep-04 6:10
membercoolooc17-Sep-04 6:10 
GeneralMeat Pizza Pin
Cameron Pulcifer21-May-04 8:52
memberCameron Pulcifer21-May-04 8:52 
GeneralRe: Meat Pizza Pin
theluk12-Feb-09 0:21
membertheluk12-Feb-09 0:21 
GeneralI guess I'll post the first real comment Pin
Marc Clifton8-Mar-04 16:19
editorMarc Clifton8-Mar-04 16:19 
GeneralRe: I guess I'll post the first real comment Pin
Uwe Keim8-Mar-04 23:13
sitebuilderUwe Keim8-Mar-04 23:13 
GeneralRe: I guess I'll post the first real comment Pin
xxxyyyzzz16-Mar-04 21:02
memberxxxyyyzzz16-Mar-04 21:02 
GeneralFunny Pin
Anthony_Yio30-Nov-03 14:46
memberAnthony_Yio30-Nov-03 14:46 
GeneralRe: Funny Pin
Uwe Keim30-Nov-03 20:22
sitebuilderUwe Keim30-Nov-03 20:22 
Generaluyuyy Pin
uyuuyuyuyuttt15-Sep-03 5:02
sussuyuuyuyuyuttt15-Sep-03 5:02 
Generaltest Pin
Anonymous25-Aug-03 1:23
sussAnonymous25-Aug-03 1:23 
Generalaaa Pin
Anonymous9-Jul-03 22:35
sussAnonymous9-Jul-03 22:35 
Generaltest Pin
Anonymous8-Jul-03 21:53
sussAnonymous8-Jul-03 21:53 
GeneralRe: test Pin
Anonymous8-Jul-03 21:54
sussAnonymous8-Jul-03 21:54 
GeneralRe: test Pin
Anonymous9-Jul-03 21:40
sussAnonymous9-Jul-03 21:40 
GeneralRe: test Pin
Anonymous9-Jul-03 21:39
sussAnonymous9-Jul-03 21:39 
QuestionFlugzeugträger??? Pin
Anonymous27-Jun-03 12:12
sussAnonymous27-Jun-03 12:12 
Generalcool Pin
Ritchy17-Dec-02 10:36
memberRitchy17-Dec-02 10:36 
GeneralHello!! Pin
jack-uno-28-Oct-02 17:26
sussjack-uno-28-Oct-02 17:26 

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.

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