Exemplo n.º 1
0
 private void button3_Click(object sender, EventArgs e)
 {
     MySQL MySQLHandle = new MySQL(GlobalVar.sqlhost, GlobalVar.sqlport, GlobalVar.sqldatabase, GlobalVar.sqlusername, "");
     MySqlConnection sqlReader = MySQLHandle.Connect();
     MySQLHandle.Delete("DELETE FROM `rrs`.`drivers` WHERE `drivers`.`DRV_NAME` = '" + selectDriverBox.Text + "';", sqlReader);
     sqlReader.Close();
     populateAddDriverSelect();
 }