Accessibility
 
Home > Products > UltraDev > Support > Connecting to a Database
Dreamweaver UltraDev Icon Macromedia Dreamweaver UltraDev Support Center - Connecting to a Database
Understanding UltraDev run-time and design-time connections

Note: This information is intended for UltraDev 1 users.

UltraDev lets you create two kinds of database connections: a run-time connection and an optional design-time connection. You choose the connection by clicking the appropriate tab in the Define Connection dialog box:

The difference between the run-time and the design-time connections can be summed up as follows:

The information entered into the Run-Time tab is used by your Web application.
The information entered into the Design-Time tab is used only by UltraDev to obtain metadata from the database.

The information entered in the Run-Time tab is written into the pages of your Web application. For example, suppose you specify an ADO connection with a DSN called Catalog in the Run-Time tab. UltraDev will write something like the following code in your application page:

set rsShoes = Server.CreateObject("ADODB.Recordset")
rsShoes.ActiveConnection = "dsn=Catalog;"

Because the run-time connection is your deployment connection, you must always create one. This connection is used when the application is deployed and running on a server.

Unlike the run-time connection, the design-time connection is used only by UltraDev at design-time. UltraDev uses this connection to obtain metadata from the database to populate certain of its dialog boxes at design-time. Your Web application is unaffected by this connection.

To Table of Contents Back to Previous document Forward to next document