using System;
using System.Data.OracleClient;
class Class1
{
static void Main(string[] args)
{
string l_connect = "User Id=oranetuser;Password=demo;Data Source=oranet;pooling=false";
OracleConnection conn_1 = new OracleConnection(l_connect);
conn_1.Open();
conn_1.Dispose();
OracleConnection conn_2 = new OracleConnection(l_connect);
conn_2.Open();
conn_2.Dispose();
}
}
|