Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

project reference's

Status
Not open for further replies.

erxi9

Programmer
Jul 8, 2003
10
IL
how can my project can recognize the

System.Data.odbc

what Reference should i add

thank !

 
Not sure exactly what you are trying to reference, but if you are trying to open a data source - couldn't you use:

Imports System.Data
Imports System.Data.SqlClient

With ..

Dim sqlConn As SqlConnection = New SqlConnection(DatabaseKey)
Dim myCommand As New SqlCommand(command, sqlConn)
 

Imports System.Data.Odbc

'Create your connection string.
Dim connectString As String
connectString = "DSN=xxx;UID=xxx;PWD=xxx"

'Create your connection.
Dim conn As OdbcConnection = New OdbcConnection("connectString")


 
John -
I thought it was available as a separate download for v1.0 framework users?

Chip H.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top