Using
ASP pages to link to a database |
What is needed to to use ASP to connect to a database?
|
||||||||||
|
|
|||||||||
| Setting up a Connection to the Database (using ODBBC or OLEDB) You have 2 choices
Example - setting up a connection string in Dreamweaver editor Go to Go to Application Panel/Databases and select Custom Connection String The following dialogue box appears
Any meaningful connection name will do but the choice of interface for the connection string is more complicated depending on whether you are using ADO or ODBC Here is a a typical ODBC statement. <%Dim Conn, RS
You may need to use an ADO (ADODB)and OLE BD connection string. It depends on what your hosting company supports
Sample Access Database from Webdevonline.co.uk Honest Dave's Car Database - this is an Access database connected viaADODB and displayed using an ASP processing page.This database is hosted by a host supporting ASP processing and is hosted on Windows servers. Look at detailed example code for an ASP connection as used in the database Web Wiz GuideDatabase Example Web Wiz Guide Internet Search Engine This search engine will link to and search a database of useful web sites for clued up web users. It links to an Access database called search_engine.mdb You can keyword search for topics. Try anthing Internet related. |