public OracleConnection oralce_conn()
{
string connstring = ConfigurationManager.AppSettings["DataSource"].ToString();
string user = ConfigurationManager.AppSettings["UserID"].ToString();
string password = ConfigurationManager.AppSettings["Password"].ToString();
OracleConnection conn = new OracleConnection("Data Source=" + connstring + ";user=" + user + ";password=" + password);
conn.Open();
return conn;
}
數據庫連接
最新推荐文章于 2024-09-08 11:09:43 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)