Macromedia dreamweaver 8-using dreamweaver Manual Do Utilizador

Página de 1030
628
Chapter 26:  Database Connections for ASP Developers
2.
Click the Plus (+) button on the panel and select Custom Connection String from the 
pop-up menu.
The Custom Connection String dialog box appears. 
3.
Complete the dialog box and click OK.
For more information, click the Help button in the dialog box.
Related topics
Connecting to a database on an ISP
If you’re an ASP developer working with a commercial Internet service provider (ISP), you 
often don’t know the physical path of the files you upload, including your database file or files. 
If your ISP doesn’t define a DSN for you or is slow to do so, you must find another way to 
create the connections to your database files. One alternative is to create a DSN-less 
connection to a database file, but you can define such a connection only if you know the 
physical path of the database file on the ISP’s server.
This section describes how you can obtain the physical path of a database file on a server by 
using the 
MapPath
 method of the ASP server object. 
NO
TE
The techniques discussed in this chapter apply only if your database is file-based, such 
as a Microsoft Access database where data is stored in an .mdb file.