There is a method
public void Send(int one, int two) { try { using (MySqlConnection myCon = new MySqlConnection("подключ.")) { MySqlCommand upd = new MySqlCommand("INSERT INTO Numbers VALUES ('one', 'two')", myCon); myCon.Open(); upd.ExecuteNonQuery(); } } catch(Exception ex) { Console.WriteLine(ex.Message); } } Please tell me how to check that it was executed (ie, the data was added and the connection did not terminate)?
delete from NUMBERS where field1='one' and field2='two'will delete only if one and two have already been added - Igor