C# 程序中,不使用TNS File 中的服务名进行数据库连接
摘要:
Oracle Client Not Use Tnaname,string connectionstring = string.Concat("Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=IP地址)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=数据库)));UserId=用户名;Password=密码; ");OracleConnection con = new OracleConnection(connectionstring); 阅读全文
posted @ 2012-06-05 15:03 Kevin Kim 阅读(259) 评论(0) 推荐(0) 编辑