This sample lists the properties of the ActiveX Data Objects.
Before using the Database Access component to access the Access database
for this sample, you must configure the database by using the ODBC applet
in the Windows control panel:
- Open the Control Panel on the Windows PC running your webserver.
- Double-click the ODBC/ODBC Data Sources icon and then switch to System
DSN Tab.
NOTE: The System DSN stores information
about how to access your database. The System DSN is available to all
users of your computer while the User DSN is available only to you.
The File DSN can be shared by users who have the same database drivers
installed.
- Click the Add button and choose the Microsoft Access Driver, and then
click the Finish button.
- In the Data Source Name input box, type "studentdatabase".
- In the Database area, click the Select button. Select the studentreg.mdb
database file located in [d:][\iasp]\samples\database.
NOTE:[d:][\iasp] indicates the destination
drive and directory where Instant ASP is installed.
- Click the OK button in the Select Database dialog box.
- Click the OK button in the ODBC Microsoft Access Setup dialog box
to finish data source configuration.
- Click the OK button to close the ODBC/ODBC Data Source Administrator
dialog box.
|