If you do not know how to set up a system DSN (Data Source Name) don't worry as our next tutorial will go through this.
For our example below lets assume that our DSN points to an Access database called 'News.mdb' and that we will be selecting records from the table 'tblNews'.
Our file is called 'dsn_connection.asp'.
Remember that 'mydsn' above is name of the DSN.
Note you can change the table name from 'tblNews' to the name of your
table and point the DSN to whatever database you like.
One other thing to remember is that you can set up a DSN on your own machine
though if you are using a hosting company you may have to ask the webmaster.
| Previous: OLEDB & ODBC connection strings | Next: How
to set up a DSN |
Plug and play ASP membership script that integrates with PayPal to let you charge recurring membership fees.
Get your best asp web hosting provider now and save 25%