連線到自己的oracle資料庫,我用的字串如
system.data.oracleclient.oracleconnection conn=new oracleconnection();
conn.connectionstring ="data source=(description = (address_list= (address = (protocol = tcp)(host = zhulin1)(port = 1521))) (connect_data = (service_name = orazl) ) );user id=ems_user;password=ems**e";
編譯時,在output視窗出現下面提示
additional information: invalid length for connection option 'data source', maximum length is 128.
不知道哪位兄弟能夠解決這個問題,感謝!!
Oracle連線字串
odbc 新版本 driver server oracleserver.world uid username pwd asdasd odbc 舊版本 driver connectstring oracleserver.world uid myusername pwd mypassword ole d...
Oracle 連線字串
data source description address protocol tcp host 192.168.2.32 port 1521 connect data service name orcl user id ttss password qaz max pool size 512 ho...
資料庫連線字串 Oracle 連線字串
odbc 新版本driver server myserveraddress uid myusername pwd mypassword 舊版本driver connectstring oracleserver.world uid myusername pwd mypassword ole db,ol...