private void update_DoWork(object sender, DoWorkEventArgs e) { model_client model = ((model_client)e.Argument); sqlcn sql = new sqlcn(); sql.update(model); e.Result = model; }
private void update_data_DoWork(object sender, DoWorkEventArgs e) { article_model model = ((article_model)e.Argument); sqlcn sql = new sqlcn(); sql.update(model); e.Result = model; }
private void update_DoWork(object sender, DoWorkEventArgs e) { fourniseur_model model = ((fourniseur_model)e.Argument); sqlcn sql = new sqlcn(); MessageBox.Show(model.ToString()); sql.update(model); e.Result = model; }
private void update_data_DoWork_DoWork(object sender, DoWorkEventArgs e) { equipement_model model = ((equipement_model)e.Argument); sqlcn sql = new sqlcn(); MessageBox.Show(model.Ref + "" + model.CODE + "" + model.Nom_equipment + "" + model.Matrucil); sql.update(model); e.Result = model; }