时间:2021-07-01 10:21:17 帮助过:2人阅读
update
MySqlParameter[] args = new MySqlParameter[] {
new MySqlParameter("@height", Request.Form["height"]), new MySqlParameter("@weight", Request.Form["weight"]) };
var sql = "update status set height=@height,weight=@weight where code =2";
db.ExecuteNonQuery(sql,args);
MySqlParameter
标签: