Minggu, 28 Oktober 2012

.NET Framework Data Provider for Oracle


VB.NET code sample
Imports System.Data.OracleClient
Dim myConnection As OracleConnection = New OracleConnection;();
myConnection.ConnectionString = myConnectionString
myConnection.Open()
//execute queries, etc
myConnection.Close()


C# code sample
using System.Data.OracleClient;
OracleConnection myConnection = new OracleConnection;();
myConnection.ConnectionString = myConnectionString;
myConnection.Open();
//execute queries, etc
myConnection.Close();

0 komentar:

Posting Komentar

Popular Posts