新手求助,百度,谷歌上面的都试了。
User ID=crcwms;Password=crcwms;Data Source=192.168.4.10
导入什么头文件都不知道,
- -,

解决方案 »

  1.   

    首先确认开发环境,然后再进行开发
    http://read.newbooks.com.cn/info/157688.html
      

  2.   

            参考一下这个吧,或许有用:
            public string GetMainOracleString()
            {
                  string strCon = "Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=" + MyDbCon.ry_strorclDataSource + ") (PORT=1521)))(CONNECT_DATA=(SID=" + MyDbCon.ry_strorclServerID + ")(SERVICE=" + MyDbCon.ry_strorclDataBase + ")));Persist Security Info=True;User Id=" + MyDbCon.ry_strorclUserName + "; Password= " + MyDbCon.ry_strorclPassword;
                 string strCon = "Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=172.23.64.86) (PORT=1521)))(CONNECT_DATA=(SID=RTDB)(SERVICE=rdb_insert.tabTimeData)));Persist Security Info=True;User Id=aws; Password=" aws123456";        
                return strCon;
            }