If you can't explain it simply,
you don't understand it well enough.
-Albert Einstein
Home   News   Tips   Glossary   Templates   Forums   Help   Logon   Order   Contact Us  
Courses - Active Server Pages 301
Description: Advanced ASP 301
Running Time: 76 minutes
Pre-Requisites: ASP 202
We use Standard ASP on a Windows Server. We also use Microsoft FrontPage 2003 for our Web editor. You can use any server or Web editor compatible with ASP.

 Click here for the Teacher's Outline

Major topics covered in this class:

  • Setting up a Database
  • Connecting to a Database
  • Using ODBC Data Sources
  • Reading Records from a Table
  • Looping Through a Set of Records
  • Adding Records to your Table

This is the big one: how to use a Database on your web site. We'll begin by learning a little bit about databases and exactly what they are. We will be using a Microsoft Access 2003 database in today's class (although later on I'll show you how to connect to a different database type). We'll create a simple Customer table and save our database.

Getting your database set up on your Web server is no easy task. I'll show you exactly what you have to do to get your database online and working. We'll set up the permissions on your Windows server so that people have access to read and write information from your database.

Next, we'll write an ASP script to connect to the database, open a table, and display some data from your records. If you can get this to work, everything else is going to work just fine for you. This screen shot doesn't look like much, but it's the first name of the first person in my customer table:

If you're not using Microsoft Access, I'll show you how you can use an ODBC connection on a Windows Server to connect to any other type of database, such as SQL Server, Oracle, even an Excel spreadsheet or delimited text file.

Since we know how to read in one record from our database, now I'll show you how to loop through all of the records in your database and display them all on the screen in a nice, pretty, formatted HTML table.

Finally, we'll learn how to add records to our database. This is important if you want to be able to save any new information to it.

Like I said earlier, this is the big one. Don't miss this class if you want to do anything with databases on your web site - including building shopping carts, blogs, user information sites, etc.



Try a FREE Demo Lesson


 Click here for the Teacher's Outline

You may want to read these articles from the 599CD News:


Visual Basicindex
Account Login
Online Theater
Lost Password
Free Upgrades
Insider Circle
Student Databases
Change Email
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search Our Site
Waiting List
Production Schedule
Collapse Menus
Live Chat
Customer Support
WalkThru Tutorials
Consulting Services
About Us
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Video Tutorials
MYOLP Memberships
Idiot's Guide to Excel
Volume Discounts
Payment Info
Terms of Sale
Gift CDs
Live Chat
General Info
Support Policy
Contact Form
Email Us
Mailing Address
Phone Number
Fax Number
Course Survey
Facebook    Twitter

Google Plus    LinkedIn

Blog RSS Feed    YouTube Channel
Richard Rost Microsoft MVP