コード例 #1
0
        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);
            }
        }
コード例 #2
0
 public CustomList <Gen_LookupEnt> GetAllGen_Grade()
 {
     return(Gen_LookupEnt.GetAllGen_LookupEnt(1));
 }
コード例 #3
0
 public CustomList <Gen_LookupEnt> GetAllGen_LookupEnt(ASL.Hr.DAO.enumsHr.enumEntitySetup entitySetup)
 {
     return(Gen_LookupEnt.GetAllGen_LookupEnt(entitySetup));
 }
コード例 #4
0
 public CustomList <Gen_LookupEnt> GetAllGen_LookupEnt()
 {
     return(Gen_LookupEnt.GetAllGen_LookupEnt(20));
 }