public string GetEventItemGroup(HttpContext context) { string groupName = context.Request.Form["groupname"]; BCtrl_EventItemGroup bll = new BCtrl_EventItemGroup(); List <EventItemGroupEntity> list = bll.QueryTop20GroupList(groupName); return(StringUti.ToUnicode(JsonObj <object> .ToJsonString(list))); }
private DataTable GetQueryData(bool isDownload) { int totalcnt = 0; DataTable table = null; BCtrl_EventItemGroup bll = new BCtrl_EventItemGroup(); EventItemGroupSearchEntity entity = new EventItemGroupSearchEntity(); entity.GroupEventID = GroupEventID; // entity.EventItemIDs = ArticleIds; entity.PageSize = base.PageSize; entity.PageIndex = base.PageIndex; table = bll.QueryGroupRelViewList(entity, out totalcnt); base.TotalRecords = totalcnt; return(table); }
private DataTable GetQueryData(bool isDownload) { BCtrl_EventItemGroup bll = new BCtrl_EventItemGroup(); int totalcnt = 0; EventItemGroupSearchEntity entity = new EventItemGroupSearchEntity(); entity.GroupEventName = GroupEventName; entity.GroupState = GroupState; entity.PageSize = base.PageSize; entity.PageIndex = base.PageIndex; entity.UseDBPagination = !isDownload; DataTable table = bll.QueryGroupTable(entity, out totalcnt); base.TotalRecords = totalcnt; return(table); }