Hi ,
Make sure you add reference
Oracle.DataAccess
using Oracle.DataAccess.Client;
using Oracle.DataAccess.Types;
string oradb = "Data Source=(DESCRIPTION="
+ "(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.1)(PORT=1521)))"
+ "(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=test.eg.com)));"
+ "User Id=scott;Password=123;";
OracleConnection con = new OracleConnection(oradb);
con.Open();
http://www.connectionstrings.com/oracle[
^]
Best Regards
M.Mitwalli