void alimenter_Combo() { string id_type = Convert.ToString(Session["id_type"]); string req = "select mat , Nom + ', ' + Prenom AS NP from V_User_Profil where id_profil = " + id_type + " order by Nom"; Class1.Remplir_cb(req, this.CB_Op); }
void Remplir_cb_Type() { string req = "Select * from Type_prob"; Class1.Remplir_cb(req, this.cb_Type); ListItem lst = new ListItem("Sélectionnez un choix", "0"); this.cb_Type.Items.Insert(0, lst); }
void Remplir_cb_Etat() { string req = "Select * from etat"; Class1.Remplir_cb(req, this.cb_Etat); ListItem lst = new ListItem("Sélectionnez un choix", "0"); this.cb_Etat.Items.Insert(0, lst); }
void source_cb() { string req1 = "select * from Type_Prob"; Class1.Remplir_cb(req1, this.CB_TypeRec); ListItem lst = new ListItem("Aucun choix", "0"); /// this. this.CB_TypeRec.Items.Insert(0, lst); string req2 = "select * from etat"; Class1.Remplir_cb(req2, this.CB_Etat); this.CB_Etat.Items.Insert(0, lst); }
void alimenter_cb_type_prob() { string req = "select * from Type_Prob"; Class1.Remplir_cb(req, this.cbType); }