http://expert.csdn.net/Expert/topic/1031/1031915.xml?temp=.2972223

解决方案 »

  1.   

    http://technet.oracle.com/sample_code/tech/windows/odpnet/content.html(例子)
    http://msdn.microsoft.com/downloads/default.asp?url=/downloads/sample.asp?url=/msdn-files/027/001/940/msdncompositedoc.xml&frame=true(从这里下载 Provider for Oracle )
      

  2.   

    在web.config文件中这样写   <appSettings>
          <add key="connstr3" value="PROVIDER=OraOLEDB.Oracle;PLSQLRSet=1;"/>
       </appSettings>记得这句PLSQLRSet=1不能少,少了就不灵了。读出
    string str=ConfigurationSettings.AppSettings["connstr3"];