CodeCharge Studio

Open Method (ASP)

Applies to

Connection Object

Syntax

<connection>.Open

Description

This method establishes a database connection. If the user creates a custom connection object, this method should be called to initialize the database connection.

Examples

This example creates a custom connection.
Dim customConn
customConn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("database.mdb")
customConn.Open

See also

ConnectionString Property


On-line, printable versions and updates