Free for PREMIUM members
[Webinar] Streamline your web hosting managementRegister Today
Set cnn = Nothing
Set rst = Nothing
Set cnn = New ADODB.Connection
Set rst = New ADODB.Recordset
cnn.Open "Provider=SQLOLEDB; " & _
"Initial Catalog=" & cdb & "; " & _
"Data Source=" & srvname & "; " &
"integrated security=SSPI; persist security info=True;"
sSql= "select col1, col2, col3 from TableName"
dcRecs.ConnectionString = cnn
dcRecs.RecordSource = sSql
Open in new window
The revolutionary project management tool is here! Plan visually with a single glance and make sure your projects get done.
Please enter a first name
Please enter a last name
Must be at least 4 characters long.
Join and Comment
From novice to tech pro — start learning today.
Premium members can enroll in this course at no extra cost.
Premium members get this course for $349.00.
Premium members get this course for $159.20.
Premium members get this course for $37.50.
Premium members get this course for $168.80.
Premium members get this course for $151.20.