Results 1 to 3 of 3

Thread: ado.net and oracle

  1. #1

    Thread Starter
    Member
    Join Date
    Dec 2000
    Posts
    53

    ado.net and oracle

    is it possible to make a connection to oracle using ado.net and the the oracle odbc, and if so how? If not what are my options to make this connection for ado.net or can i just use regular ado?

  2. #2
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    Imports System.Data.ODBC

    Dim oODBCConnection As Odbc.OdbcConnection
    Dim sConnString As String = _
    "Driver={Microsoft ODBC for Oracle};" & _
    "Server=OracleServer.world;" & _
    "Uid=myUsername;" & _
    "Pwd=myPassword;"
    oODBCConnection = New Odbc.OdbcConnection(sConnString)
    oODBCConnection.Open()
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  3. #3

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width