Beispiel #1
0
        private void FillUsers()
        {
            string OCODE = Convert.ToString(((SessionUser)Session["SessionUser"]).OCode);

            ddlUser.DataSource     = aEmployeeBll.GetAllEmployeeByDept(OCODE, ddlDepartment.SelectedValue);
            ddlUser.DataValueField = "EID";
            ddlUser.DataTextField  = "FullName";
            ddlUser.DataBind();
            ddlUser.Items.Insert(0, new ListItem("Select One", ""));
        }