摘要:
/// <summary> /// 根据sql 返回受影响的行数(增删改) /// </summary> /// <param name="sql"></param> /// <returns></returns> public static int ExecuteSql(string sql) { int rs = 0; using (SqlConnection conn = new SqlConnection(connString)) { conn.Open(); try { SqlCommand 阅读全文