sinan1
February 23rd, 2005, 05:30 AM
I need to connect to a remote Oracle server from ASP.NET using VB. I have found the following example from codeguru.com:
OracleConnection oracleConn = new OracleConnection();
oracleConn.ConnectionString = "user id=scott; data source=oracleSN; password=tiger";
oracleConn.Open();
This connection string assumes that Oracle is installed on the same client machine.
If I want to connect to a remote server, how do I specify the Oracle DB server name?
Thanks
OracleConnection oracleConn = new OracleConnection();
oracleConn.ConnectionString = "user id=scott; data source=oracleSN; password=tiger";
oracleConn.Open();
This connection string assumes that Oracle is installed on the same client machine.
If I want to connect to a remote server, how do I specify the Oracle DB server name?
Thanks