ADO is an object-oriented programming interface. In ADO, the Connection object represents a unique session with a data source.
You can use the following Connection object features to initiate a connection:
The following Visual Basic code initiates an OLE DB connection to SQL Anywhere:
' Declare the connection object Dim myConn as New ADODB.Connection myConn.Provider = "SAOLEDB" myConn.ConnectionString = "DSN=SQL Anywhere 11 Demo" myConn.Open |
Send feedback about this page via email or DocCommentXchange | Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0 |