Ejemplo n.º 1
0
    ///////////////////////////////////////////////////////////////////
    //gender
    public void LoadGenderCheckList(BaseMaster BaseMstr, CheckBoxList chklst)
    {
        //get the data to load
        DataSet ds = GetGenderDS(BaseMstr);

        //load the combo
        CCheckBoxList cl = new CCheckBoxList();

        cl.RenderDataSet(BaseMstr,
                         ds,
                         chklst,
                         "GENDER_DESC",
                         "GENDER_ID");
    }
Ejemplo n.º 2
0
    //Load the Rank grade CheckBox list
    public void LoadRankCheckList(BaseMaster BaseMstr,
                                  CheckBoxList chklst)
    {
        //get the data to load
        DataSet ds = m_Military.GetRankDS(BaseMstr);

        //load the combo
        CCheckBoxList cl = new CCheckBoxList();

        cl.RenderDataSet(BaseMstr,
                         ds,
                         chklst,
                         "GRADE",
                         "RANK_ID");
    }
Ejemplo n.º 3
0
    //marital status
    public void LoadMaritalStatusCheckList(BaseMaster BaseMstr,
                                           CheckBoxList chklst)
    {
        //get the data to load
        DataSet ds = m_Military.GetMaritalStatusDS(BaseMstr);

        //load the combo
        CCheckBoxList cl = new CCheckBoxList();

        cl.RenderDataSet(BaseMstr,
                         ds,
                         chklst,
                         "MARITAL_STATUS_TITLE",
                         "MARITAL_STATUS_ID");
    }
Ejemplo n.º 4
0
    public void LoadMilServiceCheckList(BaseMaster BaseMstr,
                                        CheckBoxList chklst)
    {
        //get the data to load
        DataSet ds = m_Military.GetMilitaryServiceDS(BaseMstr);

        //load the combo
        CCheckBoxList cl = new CCheckBoxList();

        cl.RenderDataSet(BaseMstr,
                         ds,
                         chklst,
                         "MILITARY_SERVICE_TITLE",
                         "MILITARY_SERVICE_ID");
    }
Ejemplo n.º 5
0
    //fmp
    public void LoadFMPGroupCheckList(BaseMaster BaseMstr,
                                      CheckBoxList chklst)
    {
        //get the data to load
        DataSet ds = m_Military.GetFMPGroupDS(BaseMstr);

        //load the combo
        CCheckBoxList cl = new CCheckBoxList();

        cl.RenderDataSet(BaseMstr,
                         ds,
                         chklst,
                         "GROUP_NAME",
                         "GROUP_ID");
    }
Ejemplo n.º 6
0
    //fmp
    public void LoadFMPCheckList(BaseMaster BaseMstr,
                                 CheckBoxList chklst)
    {
        //get the data to load
        DataSet ds = m_Military.GetFMPDS(BaseMstr);

        //load the combo
        CCheckBoxList cl = new CCheckBoxList();

        cl.RenderDataSet(BaseMstr,
                         ds,
                         chklst,
                         "FMP_TITLE,FMP_DESCRIPTION",
                         "FMP_ID");
    }
Ejemplo n.º 7
0
    ///////////////////////////////////////////////////////////////////
    //afsc
    public void LoadAFSCCheckList(BaseMaster BaseMstr,
                                  CheckBoxList chklst)
    {
        //get the data to load
        DataSet ds = m_Military.GetAFSCDS(BaseMstr);

        //load the combo
        CCheckBoxList cl = new CCheckBoxList();

        cl.RenderDataSet(BaseMstr,
                         ds,
                         chklst,
                         "DUTY_SPECIALTY,DESCRIPTION",
                         "DUTY_SPECIALTY_ID");
    }
Ejemplo n.º 8
0
    //load a check list of majcoms
    public void LoadMAJCOMCheckList(BaseMaster BaseMstr,
                                    CheckBoxList chklst)
    {
        //get the data to load
        DataSet ds = m_Military.GetMAJCOMDS(BaseMstr);

        //load the combo
        CCheckBoxList cl = new CCheckBoxList();

        cl.RenderDataSet(BaseMstr,
                         ds,
                         chklst,
                         "MAJCOM_TITLE",
                         "MAJCOM_ID");
    }
Ejemplo n.º 9
0
    //load a dropdown list of military services
    public void LoadMAJCOMBaseCheckList(BaseMaster BaseMstr,
                                        CheckBoxList chklst,
                                        long lMAJCOMID)
    {
        //get the data to load
        DataSet ds = m_Military.GetMAJCOMBaseDS(BaseMstr, lMAJCOMID);

        //load the combo
        CCheckBoxList cl = new CCheckBoxList();

        cl.RenderDataSet(BaseMstr,
                         ds,
                         chklst,
                         "BASE",
                         "DIMS_ID");
    }
Ejemplo n.º 10
0
    //load a checkbox list of User Rights
    public void LoadUserRightsCheckboxList(BaseMaster BaseMstr,
                                           CheckBoxList chklst)
    {
        //get the data to load
        DataSet ds = GetUserRightsDS(BaseMstr);

        //load the combo
        CCheckBoxList cl = new CCheckBoxList();

        cl.RenderDataSet(BaseMstr,
                         ds,
                         chklst,
                         "RIGHT_DESC",
                         "RIGHT_DEC"
                         );
    }
Ejemplo n.º 11
0
    //load a check list of Intake Modules
    public void LoadIntakeCheckList(BaseMaster BaseMstr,
                                    CheckBoxList chklst,
                                    string strSelectedID)
    {
        //get the data to load
        DataSet ds = GetIntakeModulesDS(BaseMstr);

        //load the combo
        CCheckBoxList cl = new CCheckBoxList();

        cl.RenderDataSet(BaseMstr,
                         ds,
                         chklst,
                         "MODULE",
                         "MID");
    }
Ejemplo n.º 12
0
    //load a dropdown list of military services
    public void LoadDMISSquadronCheckList(BaseMaster BaseMstr,
                                          CheckBoxList lst,
                                          string strDMISID)
    {
        //get the data to load
        DataSet ds = m_Military.GetDMISSquadronDS(BaseMstr,
                                                  strDMISID);

        //load the combo
        CCheckBoxList l = new CCheckBoxList();

        l.RenderDataSet(BaseMstr,
                        ds,
                        lst,
                        "SQUADRON",
                        "SQUADRON_ID");
    }