Click here to Skip to main content
Click here to Skip to main content

ASP Guestbook Application

, 17 Oct 2000 CPOL
Rate this:
Please Sign up or sign in to vote.
A simple guestbook application using ASP and an Access database
  • Download source files - 15 Kb


    This is a small ASP (Microsoft Active Server Pages) application that implements a guestbook.

    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-formating (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 (please e-mail me, if you improved it, since I'm very interested in any improvements)


    The guestbook stores its entries in a Microsoft Access 2000 database (Access 97 works quite well, too - just convert the database) and accesses the database using ADO (Microsoft ActiveX Data Objects, see To use the Access 2000 database, you probably need the latest version of the Microsoft Data Access Components (MDAC, also from

    I tried to comment the ASP code as well as I can. When you look through it with a syntax-coloring editor, you should find the comments quite easily. I also tryied to minimize the allways-present problem of having code mixed with design/content be separating ASP from HTML as much as I can. Still I wanted to keep all things in one file to make it compact. So the ASP pages became a bit longer than it normally would.

    I'm running this guestbook under a german version of NT 4.0 server, service pack 6a (the 'a' is very important). Altough, SP 4 or 5 should be no problem, too.

    A last tip for editing ASP files: I tried a lot of editors (including Frontpage, InterDev, etc.), I found the most usable program is EditPlus, which you can find on

    Please feel free to ask any questions you have by e-mail:


    18 Oct 2000 - updated script.

  • 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
    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:
    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
    Follow on   Twitter   Google+   LinkedIn

    Comments and Discussions

    GeneralError: Can not insert record into database Pinmembersharp_k11-Mar-09 7:42 
    GeneralRe: Error: Can not insert record into database PinmemberNancy B20-Oct-09 5:47 
    Generalscreenshot Pinmembersharp_k8-Mar-09 18:44 
    GeneralMedicine for you PinmemberKedaar12-Oct-08 12:01 
    GeneralProbably it for you PinmemberKedaar17-Apr-09 7:27 
    GeneralHi!! PinmemberCharuT29-Oct-06 19:30 
    Generaltest for subject PinsussAnonymous16-Feb-04 16:30 
    GeneralRe: test for subject PinsussAnonymous31-Jul-04 6:34 
    GeneralRe: test for subject PinsussAnonymous9-Dec-04 22:17 
    Generalneed for a help Pinmemberreymar1-Aug-03 19:05 
    GeneralRe: need for a help PinmemberDavid Jhon17-Aug-06 18:31 
    Generalerr PinsussAnonymous27-Jul-03 6:01 
    GeneralSource Code Pinmemberlittleblack23-Jun-03 0:02 
    GeneralRe: Source Code Pinmember2TallTony23-Jun-03 5:37 
    GeneralDatabase access PinmemberIneffable7-May-03 15:07 
    GeneralRe: Database access PinsitebuilderUwe Keim7-May-03 20:28 
    Generaltask 1 PinsussAnonymous3-May-03 8:35 
    GeneralRe: task 1 PinsussAnonymous3-May-03 8:36 
    Generalmerhaba PinsussAnonymous2-May-03 14:11 
    Generalดดดดด PinsussAnonymousด26-Apr-03 22:52 
    Generaltest PinsussAnonymous4-Apr-03 2:46 
    GeneralRe: test PinsussAnonymous3-Mar-05 17:38 
    GeneralHello PinmemberZioner20-Feb-03 23:14 
    Generalhello PinsussAnonymous9-Feb-03 23:01 
    GeneralRe: hello PinsussAnonymous24-Feb-05 0:07 
    Generaltest PinsussAnonymous21-Nov-02 11:29 
    GeneralRe: test PinmemberChristian Graus21-Nov-02 11:38 
    GeneralRe: test PinsitebuilderUwe Keim21-Nov-02 20:13 
    General[Message Deleted] PinsussAnonymous25-Feb-03 7:37 
    GeneralRe: test PinsussAnonymous25-Feb-03 7:38 
    GeneralTTEEEEEST PinsussAnonymous2-Jul-03 21:52 
    GeneralRe: test PinsussAnonymous16-Feb-04 16:31 
    GeneralRe: test PinsussAnonymous30-Oct-04 12:54 
    GeneralRe: test Pinmemberluisilian4-Nov-04 6:05 
    GeneralRe: test 傻仔 PinsussAnonymous1-Mar-03 4:04 
    GeneralRe: test PinsussAnonymous20-Dec-03 22:24 
    Generalthe guestbook is cool,but i have problem PinmemberKinli1-Oct-02 1:22 
    GeneralRe: the guestbook is cool,but i have problem PinsitebuilderUwe Keim1-Oct-02 1:41 
    GeneralRe: the guestbook is cool,but i have problem PinsussAnonymous30-Dec-02 12:11 
    GeneralCOOL! PinsussSeanyBoy12322-Aug-02 11:53 
    GeneralRe: COOL! PinsussAnonymous16-Mar-03 18:05 
    Generalhi there PinmemberAnonymous12-Jun-02 13:19 
    Generalhola de MTY!!!!! PinmemberAnonymous14-May-02 14:34 
    Generalhello PinmemberAnonymous11-Apr-02 10:04 
    GeneralGr88888888888888888888!!!!!!!!!!! Pinmemberjayeshw8-Apr-02 6:42 
    GeneralGreat! PinmemberAnonymous14-Mar-02 1:16 
    Questionit's great, but how can i delete? Pinmembertbbooher28-Feb-02 9:18 
    AnswerRe: it's great, but how can i delete? PinmemberUwe Keim28-Feb-02 20:30 
    GeneralRe: it's great, but how can i delete? PinmemberBoris Sundic24-Jul-02 16:16 
    GeneralRe: it's great, but how can i delete? Pinmembermartinchan18-Mar-03 21:15 

    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
    Web03 | 2.8.150123.1 | Last Updated 18 Oct 2000
    Article Copyright 2000 by Uwe Keim
    Everything else Copyright © CodeProject, 1999-2015
    Layout: fixed | fluid