private void DisplaySubitems() { if (levelNumOfThis >= maxLevelNum) { return; } SubitemArea.Visible = true; OpListQueryParams param = new OpListQueryParams() { ParentId = c.qsId, CultureName = c.seCultureNameOfBackend, Kw = "" }; param.PagedParams = new PagedListQueryParams() { BeginNum = 1, EndNum = 999999999, SortField = c.qsSortField, IsSortDesc = c.qsIsSortDesc }; List <OperationForBackend> subitems = empAuth.GetOperationList(param); if (subitems != null) { totalSubitems = subitems.Count; rptSubitems.DataSource = subitems; rptSubitems.DataBind(); } }
/// <summary> /// 取得後端作業選項清單 /// </summary> public List <OperationForBackend> GetOperationList(OpListQueryParams param) { List <OperationForBackend> entities = null; using (EmployeeAuthorityDataAccess empAuthDao = new EmployeeAuthorityDataAccess()) { entities = empAuthDao.GetOperationListForBackend(param); dbErrMsg = empAuthDao.GetErrMsg(); } return(entities); }