oracleclient
数据库连接字符串  配置监听中的设置的

解决方案 »

  1.   

    Provider=MSDAORA;Password=timecard;User ID=timecard;Data Source=boswebdata source为配置本地服务名。
      

  2.   

    sorry,搞错了,参考以下:.NET Framework Data Provider for Oracle (System.Data.OracleClient) 
    The .NET Framework Data Provider for Oracle is an add-on component to the .NET Framework that provides access to an Oracle database using the Oracle Call Interface (OCI) as provided by Oracle Client software.  Using C#:using System.Data.OracleClient;
     
    OracleConnection oOracleConn = new OracleConnection();
    oOracleConn.ConnectionString = "Data Source=Oracle8i;" +
                                   "Integrated Security=SSPI";
    oOracleConn.Open();
     
    Using VB.NET:Imports System.Data.OracleClient
     
    Dim oOracleConn As OracleConnection = New OracleConnection()
    oOracleConn.ConnectionString = "Data Source=Oracle8i;" & _
                                   "Integrated Security=SSPI";
    oOracleConn.Open()
    Note: You must have the Oracle 8i Release 3 (8.1.7) Client or later installed in order for this provider to work correctly.Note: You must have the RTM version of the .NET Framework installed in order for this provider to work correctly.Note: There are known Oracle 7.3, Oracle 8.0, and Oracle9i client and server problems in this beta release. The server-side issues should be resolved in the final release of the product.  However, Oracle 7.3 client will not be supported. 
    For more information, see:   .NET Data Provider for Oracle Beta 1To view Microsoft KB articles related to OracleConnection
      

  3.   

    你用oracleclient吧!你在web.config文件中配置一下,程序中直接用就可以了