Setting the OLE DB Connection dialog box options

Setting the OLE DB Connection dialog box options

The purpose of this dialog box is to define a database connection for an ASP.NET application.

To define a database connection for an ASP.NET application:

  1. Enter a name for the new connection.
  2. Enter the connection string.

    If you need help with the connection string, click Templates to open the Connection String Template dialog box, select your OLE DB provider from the list of templates, and click OK.

    Dreamweaver inserts a string template in the Connection String text box. Replace the placeholders in the string with the requested information. For more information, see Sample OLE DB connection parameters for ASP.NET.

  3. Click Test.

    Dreamweaver attempts to connect to the database. If the connection fails, double-check the connection string. If the connection still fails, check the settings for the folder Dreamweaver uses to process dynamic pages (see Specifying where dynamic pages can be processed).

  4. Click OK.

    The new connection appears in the Databases panel.

Related topics

  • Creating an ASP.NET database connection in Dreamweaver
  • Obtaining an OLE DB provider for your database
  • Creating a connection using Data Link Properties

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