E-Commerce at Southern New Hampshire University
Page 1 of Downloads for IT - 695.
Code for using a DNS-less Connection
This is one of the most important files in your course. Be sure to download it and use it as an include file in each of your ASP pages relating to database activity.
The SetDB, include file. This is the required code you must include on all of your database related ASP pages. To use it on your site, you must change it's file extension from .txt to .inc
Examples of a simple access to a database saved in your db folder.
These examples illustrate the use of ASP to display, on a web page, data from a database on the server. To use these files, you must change their extension from .txt to .asp .
Show1 The most basic access to a database. Note that only one record is shown.
Show2. Accessing the same database, but this time the contents of all records are shown in an unformatted style.
Show3 The same database is accessed. This time the data are displayed in an HTML table format.
Show4 The same database is again accessed. This time the data are displayed in an HTML table with the beginnings of a true XHTML format.