|
|
|
|
Intro This is a long awaited lesson about connecting an Access database with ASP pages. In this lesson I will focus on connecting Access with PWS 4.0 on a Win95 machine. You can use the same procedure on Win98. I will also learn you how to create a database table in Access and how to retrieve it's content and display it through ASP.
Making an ODBC connection
It's the "ODBC Data Source Administrator" window. Click the "File DSN" tab at the top. You should now see this:
Click the Add button. You will now
see a list of different ODBC drivers,
select "Microsoft Access Driver (*.mdb)"
and click next. Now it asks for where to
save the dsn file and what to call it.
Click browse, go to c:\ and create a new
directory called dsn. Save it as
MyTable_dsn.dsn and click next (the path
to the dsn file should now be c:\dsn\MyTable_dsn.dsn).
Click finish. It now wants you to select
which database to connect to. Click
Select and find the mdb file you created
with Access. It should be in the My
Documents folder. Click OK twice. That's
it! |