Creating an ASP.NET database connection in Dreamweaver

Creating an ASP.NET database connection in Dreamweaver

After obtaining an OLE DB provider for your database (see Obtaining an OLE DB provider for your database), you can use it to create a database connection in Dreamweaver.

Another option is to use the Microsoft Data Link Properties dialog box to help you create the connection. For instructions, see Creating a connection using Data Link Properties.

To create a database connection for ASP.NET:

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

    The panel displays the connections defined for the site.

  2. Click the Plus (+) button on the panel and select OLE DB Connection or SQL Server Connection from the pop-up menu.

    The OLE DB Connection or SQL Server Connection dialog box appears.

  3. Complete the dialog box and click OK.

    For more information, see the following:

    • Setting the OLE DB Connection dialog box options
    • Setting the SQL Server Connection dialog box options

The new connection appears in the Databases panel.

Related topics

  • 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