VB Code:
Dim myconn As New ADODB.Connection
I've seen this all over the place, but I get an error on it saying it is not definied... I would like to know what I have to import / reference to get it to work.
Printable View
VB Code:
Dim myconn As New ADODB.Connection
I've seen this all over the place, but I get an error on it saying it is not definied... I would like to know what I have to import / reference to get it to work.
Don't! ADODB is a COM library that allows you to use ADO in .NET applications. Use ADO.NET instead. It is the data access technology designed specifically for the .NET platform. There are tutorials in my signature if you are unfamiliar with it.