using MySql.Data.MySqlClient;我知道插入(insert)是这么写的:
MySqlCommand command1 = new MySqlCommand("INSERT INTO customer (CustomerID,CustomerType) VALUES (?CustomerID,?CustomerType)", conn1);
command1.Parameters.Add("?CustomerID", MySql.Data.MySqlClient.MySqlDbType.VarChar).Value = textBox1.Text;
command1.Parameters.Add("?CustomrrType", MySql.Data.MySqlClient.MySqlDbType.VarChar).Value = textBox2.Text
command1.ExecuteNonQuery();请问update应该怎么写?