我现在用的连接字串是:
strconnt = "Provider=MSDAORA.1;Password=123;User ID=user;Data Source=dbService"
dbService是本地Net服务名.但是每台客户机上配置比较麻烦.想改用服务器 ip+ServiceName的方法
比如:10.1.1.2/dbService.应该如何修改?
------最佳解决方案--------------------------------------------------------
http://www.connectionstrings.com/oracle
LZ看一下这个,希望对你有用!
------其他解决方案--------------------------------------------------------
很全面,太好了!Microsoft OLE DB Provider没有不需tns的方式,但ODBC可以