VB.NET code sample
Imports System.Data.OracleClient
Dim myConnection As OracleConnection = New OracleConnection;();
myConnection.ConnectionString = myConnectionString
myConnection.Open()
//execute queries, etc
myConnection.Close()
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();
OracleConnection myConnection = new OracleConnection;();
myConnection.ConnectionString = myConnectionString;
myConnection.Open();
//execute queries, etc
myConnection.Close();
0 komentar:
Posting Komentar