Monday, 15 September 2014

c# - how to run an application and pass username and password to that application -



c# - how to run an application and pass username and password to that application -

i want run oracle 10g enterprise edition application c# window form application , want pass username , password login page of oracle automatically...oracle must logged in without effort come in login username , password.

i can run application next code:

process.start("sqlplusw.exe");

but dont know how pass username , password application automatically c# form.

from the documentation:

you can optionally include login username , password separated slash (/), , remote database connect to, example:

c:\> sqlplusw username/password@connect_identifier

therefore, should able do:

process.start("sqlplusw.exe", "username/password@connect_identifier");

c# oracle login

No comments:

Post a Comment