摘要:
运行结果: 阅读全文
摘要:
//删除 string sqldelete = " DELETE FROM bookshop WHERE 编号 = 6 "; using (MySqlCommand command = new MySqlCommand(sqldelete, connection)) { int rowsAffect 阅读全文
摘要:
//添加 string sqlinsert = "INSERT INTO bookshop(编号,书名,价格) VALUES (@编号,@书名,@价格)"; using (MySqlCommand command = new MySqlCommand(sqlinsert, connection)) 阅读全文