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); }
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); }
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; }
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; }