Connecting to a SQL Server Data Source in VB

A. Using SQLOLEDB to connect to an instance of SQL Server: setting individual properties
The following Microsoft Visual Basic® code fragments from the ADO Introductory Visual Basic Sample show how to use SQLOLEDB to connect to an instance of SQL Server.

Komentar