Creating a DSN-less connection

Creating a DSN-less connection

You can use a DSN-less connection to create an ODBC or OLE DB connection between your web application and your database. You use a connection string to create this kind of connection. A connection string combines all the information your web application needs to connect to a database. For more information on connection strings, see Setting the Connection String option.

To create a DSN-less connection:

  1. Open an ASP page in Dreamweaver, then open the Databases panel (Window > Databases).

    Dreamweaver displays all the connections defined for that site, if any.

  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.

    This is a picture of the feature being described.

  3. Complete the dialog box and click OK.

    For more information, see Setting the Custom Connection String dialog box options.

Related topics

  • OLE DB connections
  • Using a virtual path to connect to a database
  • Troubleshooting Database Connections


Getting Started with Dreamweaver
Dreamweaver Basics
Working with Dreamweaver Sites
Laying Out Pages
Adding Content to Pages
Working with Page Code
Preparing to Build Dynamic Sites
Making Pages Dynamic
Developing Applications Rapidly
 
ASPTreeView.com
 
Evaluation has ГТПОРєСµјЩexpired.
Info...