5,316,172 members and growing! (18,159 online)
Email Password   helpLost your password?
Web Development » ASP » Applications     Intermediate License: The Code Project Open License (CPOL)

ASP Guestbook Application

By Uwe Keim

A simple guestbook application using ASP and an Access database
VBScriptNT4, Windows, ASP, Visual Studio, IIS, Dev

Posted: 20 Jan 2000
Updated: 17 Oct 2000
Views: 595,654
Announcements
Want a new Job?



Search    
Advanced Search
Sitemap
54 votes for this Article.
Popularity: 6.87 Rating: 3.96 out of 5
0 votes, 0.0%
1
0 votes, 0.0%
2
1 vote, 20.0%
3
2 votes, 40.0%
4
2 votes, 40.0%
5
  • Download source files - 15 Kb

    Overview

    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)

    Details

    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 http://www.microsoft.com/data/ado/). To use the Access 2000 database, you probably need the latest version of the Microsoft Data Access Components (MDAC, also from http://www.microsoft.com/data/ado/).

    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 http://www.editplus.com/.

    Please feel free to ask any questions you have by e-mail: keim@zeta-software.de.

    History

    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


    Sitebuilder
    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 teaching programming to students at the local "Fachhochschule".

    In his free time, he does climbing, running and mountainbiking. You can watch him most of the day (and probably night) programming.

    Some cool, free software from us:

    Zeta Producer Desktop CMS
    Intuitive, completely easy-to-use CMS for Windows.

    Zeta Helpdesk
    Open Source ticket- and helpdesk software for Windows and web.

    Zeta Uploader
    Easily send large files by e-mail. Windows and web client available.

    Desargues
    Innovative, lean and neat calculator for Windows. You never want to use Calc.exe again!
    Occupation: Software Developer
    Company: zeta software GmbH
    Location: Germany Germany

    Other popular ASP articles:

    Article Top
    Sign Up to vote for this article
    You must Sign In to use this message board.
    FAQ FAQ Noise ToleranceSearch Search Messages 
     Layout  Per page   
     Msgs 1 to 25 of 142 (Total in Forum: 142) (Refresh)FirstPrevNext
    Subject  Author Date 
    GeneralHi!!memberCharuT19:30 29 Oct '06  
    Generaltest for subjectsussAnonymous16:30 16 Feb '04  
    GeneralRe: test for subjectsussAnonymous6:34 31 Jul '04  
    GeneralRe: test for subjectsussAnonymous22:17 9 Dec '04  
    Generalneed for a helpmemberreymar19:05 1 Aug '03  
    GeneralRe: need for a helpmemberDavid Jhon18:31 17 Aug '06  
    GeneralerrsussAnonymous6:01 27 Jul '03  
    GeneralSource Codememberlittleblack0:02 23 Jun '03  
    GeneralRe: Source Codemember2TallTony5:37 23 Jun '03  
    GeneralDatabase accessmemberIneffable15:07 7 May '03  
    GeneralRe: Database accesssitebuilderUwe Keim20:28 7 May '03  
    Generaltask 1sussAnonymous8:35 3 May '03  
    GeneralRe: task 1sussAnonymous8:36 3 May '03  
    GeneralmerhabasussAnonymous14:11 2 May '03  
    GeneralดดดดดsussAnonymousด22:52 26 Apr '03  
    GeneraltestsussAnonymous2:46 4 Apr '03  
    GeneralRe: testsussAnonymous17:38 3 Mar '05  
    GeneralHellomemberZioner23:14 20 Feb '03  
    GeneralhellosussAnonymous23:01 9 Feb '03  
    GeneralRe: hellosussAnonymous0:07 24 Feb '05  
    GeneraltestsussAnonymous11:29 21 Nov '02  
    GeneralRe: testmemberChristian Graus11:38 21 Nov '02  
    GeneralRe: testsitebuilderUwe Keim20:13 21 Nov '02  
    GeneralRe: testsussAnonymous7:37 25 Feb '03  
    GeneralRe: testsussAnonymous7:38 25 Feb '03  

    General General    News News    Question Question    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

    PermaLink | Privacy | Terms of Use
    Last Updated: 17 Oct 2000
    Editor: Chris Maunder
    Copyright 2000 by Uwe Keim
    Everything else Copyright © CodeProject, 1999-2008
    Web13 | Advertise on the Code Project