摘要:
.NET程序连接Oracle的几种方式:1,OracleConnection: string connstr = "Provider=OraOleDb.Oracle;DataSource=orcl;userid=system;password=a123;"; string cmdstr = "select * from test"; OracleConnection orclcon = new OracleConnection("User Id=system;Password=a123;Data Source=orcl;"); try 阅读全文