public int ChangePassword(int autoId, string newPwd) { try { string sql = "update T_Seats set CC_LoginPassword=@newPwd where CC_AutoId=@autoId"; SqlParameter[] pms = new SqlParameter[] { new SqlParameter("@autoId",autoId), new SqlParameter("@newPwd",newPwd) }; return SqlHelper.ExecuteNonQuery(sql, pms); }
sql三层增删改
最新推荐文章于 2022-09-16 06:43:16 发布