摘要:
1 class SqlHelper 2 { 3 private static string connStr = ConfigurationManager.ConnectionStrings["connStr"].ConnectionString; 4 5 public static int ExecuteNonQuery(string cmdStr,params SqlParameter[] parameters) 6 { 7 using (SqlConnection conn = new SqlConnect... 阅读全文