Knight Data Access Layer
Using ODBC or OLEDB VB.NET
Basic Tasks VB.NET > Using ODBC and OLEDB > Using ODBC or OLEDB VB.NET

Here is how to instantiate the ODBC or OLEDB Provider:

 

Dim provider As New OdbcProvider()

provider.ConnectionString = "My Connection String"

Dim db As New DataHelper(provider)