Annonce.Form1 f = (Annonce.Form1)Application.OpenForms["Annonce.Form1 "]; agence.employeurDataTable empldt = new agence.employeurDataTable(); agence.annonceDataTable annoncetb = new agence.annonceDataTable(); agenceTableAdapters.employeurTableAdapter empad = new agenceTableAdapters.employeurTableAdapter(); agenceTableAdapters.annonceTableAdapter annonad = new agenceTableAdapters.annonceTableAdapter(); empad.parnumins(empldt, radGridView5.SelectedRows[0].Cells[1].Value.ToString()); annonad.Fillbyannonce(annoncetb, radGridView5.SelectedRows[0].Cells[0].Value.ToString()); if (empldt.Count == 0) return; f.posteoffert.Text = annoncetb[0]["diplome"].ToString(); f.employeur.Text=empldt[0]["NominationEntre"].ToString(); f.nbr.Text = annoncetb[0]["nbr_poste"].ToString();
f.posteoffert.Text = annoncetb[0]["diplome"].ToString();
annoncetb
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)