private void InitializeCombo() { try { _SepCause = Gen_LookupEnt.GetAllGen_LookupEnt(14); ddlCause.DataSource = _SepCause; ddlCause.DataTextField = "ElementName"; ddlCause.DataValueField = "ElementKey"; ddlCause.DataBind(); ddlCause.Items.Insert(0, new ListItem(String.Empty, String.Empty)); ddlCause.SelectedIndex = 0; _SepAction = Gen_LookupEnt.GetAllGen_LookupEnt(15); ddlAction.DataSource = _SepAction; ddlAction.DataTextField = "ElementName"; ddlAction.DataValueField = "ElementKey"; ddlAction.DataBind(); ddlAction.Items.Insert(0, new ListItem(String.Empty, String.Empty)); ddlAction.SelectedIndex = 0; } catch (Exception ex) { throw(ex); } }
public CustomList <Gen_LookupEnt> GetAllGen_Grade() { return(Gen_LookupEnt.GetAllGen_LookupEnt(1)); }
public CustomList <Gen_LookupEnt> GetAllGen_LookupEnt(ASL.Hr.DAO.enumsHr.enumEntitySetup entitySetup) { return(Gen_LookupEnt.GetAllGen_LookupEnt(entitySetup)); }
public CustomList <Gen_LookupEnt> GetAllGen_LookupEnt() { return(Gen_LookupEnt.GetAllGen_LookupEnt(20)); }