摘要: /// <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 阅读全文
posted @ 2011-09-28 13:56 晓风拂月 阅读(200) 评论(0) 推荐(0) 编辑