靜態代碼塊連接數據庫,返回連接對象

 public static string connectString = ConfigurationManager.ConnectionStrings["bbsConnectionString"].ConnectionString;         public static SqlConnection _SqlConn;         public static SqlCommand Sql
相關文章
相關標籤/搜索