SqlConnection conn = new SqlConnection(conStr);
// 如果是关闭状态if (conn.State == System.Data.ConnectionState.Closed) { conn.Open();}标签:sha div close 状态 == nstat key open const
SqlConnection conn = new SqlConnection(conStr);
// 如果是关闭状态if (conn.State == System.Data.ConnectionState.Closed) { conn.Open();}标签:sha div close 状态 == nstat key open const
原文地址:https://www.cnblogs.com/tylerflyn/p/8267331.html