C#连接Oracle本地数据库的字符串怎么写?
连接本地Oracle数据库的连接字符串怎么写?
数据库名:TESTDB
用户:chbo
密码:admin
------解决方案-------------------- OLE DB, OleDbConnection (.NET)
"Provider=msdaora;Data Source=TESTDB;User Id=chbo;Password=admin; "
OracleConnection (.NET)
"Data Source=TESTDB;User Id=chbo;Password=admin;Integrated Security=no; "
------解决方案--------------------OLE DB, OleDbConnection (.NET)
"Provider=msdaora;Data Source=TESTDB;User Id=chbo;Password=admin; "
OracleConnection (.NET)
"Data Source=TESTDB;User Id=chbo;Password=admin;Integrated Security=no; "
再加个ODBC的
"Driver={Microsoft ODBC for Oracle};Server=TESTDB;Uid=chbo;Pwd=admin; "
如果连接远程的,直接吧Data Source改成IP地址就行了,Oracle好像没有库的概念