dcsimg

Code Example 1:

Dim objConn
Set objConn = Server.CreateObject("ADODB.Connection")
objConn.ConnectionString = Session("ConnectionString")
objConn.Open

Code Example 2:

<%
Dim objConn
Set objConn = Server.CreateObject("ADODB.Connection")
objConn.ConnectionString = "DSN=Blah"
objConn.Open
%>

Code Example 3:

<!--#include virtual="/scripts/dbConn.asp"-->