Jul 8, 2003 #1 erxi9 Programmer Jul 8, 2003 10 IL how can my project can recognize the System.Data.odbc what Reference should i add thank !
Jul 8, 2003 #2 majordog Programmer Jul 8, 2002 222 CA 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) Upvote 0 Downvote
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)
Jul 8, 2003 #3 PankajBanga Programmer Jun 11, 2003 389 AU 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" Upvote 0 Downvote
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"
Jul 8, 2003 #4 JohnYingling Programmer Mar 24, 2001 3,742 US System.Data.Odbc requires .Net Framework 1.1 according to the MSDN CD. http://www.VBResizer.com Forms/Controls Resizing/Tabbing Control http://www.VBCompare.com Compare Code (Text) http://www.VBSortGen.com Generate Sort Class in VB or VBScript Upvote 0 Downvote
System.Data.Odbc requires .Net Framework 1.1 according to the MSDN CD. http://www.VBResizer.com Forms/Controls Resizing/Tabbing Control http://www.VBCompare.com Compare Code (Text) http://www.VBSortGen.com Generate Sort Class in VB or VBScript
Jul 9, 2003 #5 chiph Programmer Jun 9, 1999 9,878 US John - I thought it was available as a separate download for v1.0 framework users? Chip H. Upvote 0 Downvote