¤ Ok, thanks.
¤ I kinda lost!, could you show me some links on how to work with ODBC and
¤ OleDB?
Here is an example using the OLEDB provider for .NET:
Dim DatabaseConnection As New System.Data.OleDb.OleDbConnection
DatabaseConnection.ConnectionString = "Provider=MSDAORA;" & _
"Data Source=ServerName;" & _
"USER ID=UserID;PASSWORD=password;"
DatabaseConnection.Open()
'...
'...
DatabaseConnection.Close()
Here is an example using the ODBC Provider for .NET:
Dim ODBCConnection As New Microsoft.Data.Odbc.OdbcConnection
ODBCConnection.ConnectionString = "DRIVER={Microsoft ODBC for Oracle};" & _
"SERVER=ServerName;" & _
"UID=UserID;PWD=password;"
ODBCConnection.Open()
'...
'...
ODBCConnection.Close()
In addition, if you choose the Microsoft ODBC Provider for .NET, the library was not included with
VS 2002 so if you are using that version you will need to download and install the library:
http://www.microsoft.com/downloads/...27-1017-4f33-a062-d165078e32b1&displaylang=en
Paul ~~~ (e-mail address removed)
Microsoft MVP (Visual Basic)