Esempio n. 1
0
        public List <VO.DDLVO> CNAMESelector()
        {
            DAO.SelectorDAO mySelectorDAO = new ACMS.DAO.SelectorDAO();

            List <VO.DDLVO> myDDLVOList = new List <VO.DDLVO>();

            VO.DDLVO myDDLVO = new VO.DDLVO();

            myDDLVOList   = mySelectorDAO.CNAMESelector();
            myDDLVO.Value = "";
            myDDLVO.Text  = "請選擇";
            // myDDLVOList.Insert(0, myDDLVO);
            return(myDDLVOList);
        }
Esempio n. 2
0
        public List <VO.DDLVO> DeptSelectorByCompanyCode(string COMPANYCODE)
        {
            DAO.SelectorDAO mySelectorDAO = new ACMS.DAO.SelectorDAO();

            List <VO.DDLVO> myDDLVOList = new List <VO.DDLVO>();

            VO.DDLVO myDDLVO = new VO.DDLVO();

            myDDLVOList   = mySelectorDAO.DeptSelectorByCompanyCode(COMPANYCODE);
            myDDLVO.Value = "";
            myDDLVO.Text  = "請選擇";
            myDDLVOList.Insert(0, myDDLVO);
            return(myDDLVOList);
        }
Esempio n. 3
0
        public List<VO.DDLVO> UnitSelector()
        {
            DAO.SelectorDAO mySelectorDAO = new ACMS.DAO.SelectorDAO();

            List<VO.DDLVO> myDDLVOList = new List<VO.DDLVO>();
            VO.DDLVO myDDLVO = new VO.DDLVO();

            myDDLVOList = mySelectorDAO.UnitSelector();
            myDDLVO.Value = "";
            myDDLVO.Text = "請選擇";
            myDDLVOList.Insert(0, myDDLVO);
            return myDDLVOList;
        }
Esempio n. 4
0
        public List<VO.DDLVO> DeptSelectorByCompanyCode(string COMPANYCODE)
        {
            DAO.SelectorDAO mySelectorDAO = new ACMS.DAO.SelectorDAO();

            List<VO.DDLVO> myDDLVOList = new List<VO.DDLVO>();
            VO.DDLVO myDDLVO = new VO.DDLVO();

            myDDLVOList = mySelectorDAO.DeptSelectorByCompanyCode(COMPANYCODE );
            myDDLVO.Value = "";
            myDDLVO.Text = "請選擇";
            myDDLVOList.Insert(0, myDDLVO);
            return myDDLVOList;
        }