コード例 #1
0
        public void ListSorting(WACDataBoundListControl wc, string _sortBy)
        {
            ServiceRequest sr = new ServiceRequest(this, ServiceFactory.ServiceTypes.SortGridView);

            sr.Requestor = wc;
            sr.ParmList.Add(new WACParameter(string.Empty, _sortBy, WACParameter.ParameterType.ListSort));
            ServiceFactory.Instance.ServiceRequest(sr);
            sr = null;
        }
コード例 #2
0
        public void PageIndexChanging(WACDataBoundListControl wc, int newPageIndex)
        {
            ServiceRequest sr = new ServiceRequest(this, ServiceFactory.ServiceTypes.PageGridView);

            sr.Requestor = wc;
            sr.ParmList.Add(new WACParameter(string.Empty, newPageIndex, WACParameter.ParameterType.ListPage));
            ServiceFactory.Instance.ServiceRequest(sr);
            sr = null;
        }