BeginExecuteNonQuery()
ExecuteNonQuery()
Con.Open(); string q3 = "DELETE FROM producttbl WHERE productid='" + this.textBox1.Text + "';"; MySqlCommand cmd = new MySqlCommand(q3, Con); cmd.ExecuteNonQuery(); // cant we use cmd.BeginExecuteNonQuery(); MessageBox.Show("Product Deleted"); Con.Close();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)