MObile connection string in oracle
Posted: Fri 19 May 2006 07:19
Hello
i am devaloping a pda application with the oradirect.net 2 mobile.
My qyestion is:
When i want to create a new connection
i use
the syntax :
OracleConnection con = new OracleConnection();
con.ConnectionString = "";
con.UserId = "scott";
con.Password ="tiger";
con.Port = 1521;
con.Server = "localhost";
con.Sid = "orcl";
Is it possible to add all these parameters to the ConnectionString and ommit the others?
And 2nd q is :
is it possible to use a runtime connnection string in the configurations file
app.config ? or is there an other method?
REgards
Aris
i am devaloping a pda application with the oradirect.net 2 mobile.
My qyestion is:
When i want to create a new connection
i use
the syntax :
OracleConnection con = new OracleConnection();
con.ConnectionString = "";
con.UserId = "scott";
con.Password ="tiger";
con.Port = 1521;
con.Server = "localhost";
con.Sid = "orcl";
Is it possible to add all these parameters to the ConnectionString and ommit the others?
And 2nd q is :
is it possible to use a runtime connnection string in the configurations file
app.config ? or is there an other method?
REgards
Aris