private void BtnSupprimerIlot_Click(object sender, RoutedEventArgs e) { IlotController IC = new IlotController(); IC.SupprimerIlot(tempID); msh.LoadData("select * from listeilot where RefProjet='" + RefProjet + "'", dataViewIlot); inputIlot.Text = string.Empty; }
private void BtnAjouterIlot_Click(object sender, RoutedEventArgs e) { IlotController IC = new IlotController(); IC.ajouterIlot(inputIlot.Text, int.Parse(inputRefProjet.Text)); msh.LoadData("select * from listeilot where RefProjet='" + RefProjet + "'", dataViewIlot); inputIlot.Text = string.Empty; }