示例#1
0
        private void FillTypeEmploye()
        {
            IEnumerable <TypeEmployeDto> data;
            LookupManager lm = new LookupManager();

            data = lm.GetAllTypeEmployeForCompany((int)Session["CompagnieID"]);
            DdlTypeEmploye.DataSource     = data;
            DdlTypeEmploye.DataValueField = "TypeEmployeID";
            DdlTypeEmploye.DataTextField  = "Nom";
            DdlTypeEmploye.DataBind();
        }