Beispiel #1
0
        private void BindCutDown()
        {
            CutDownQuery query = new CutDownQuery
            {
                ProductName = this.productName,
                PageIndex   = this.pager.PageIndex,
                PageSize    = this.pager.PageSize,
                SortBy      = "DisplaySequence",
                SortOrder   = SortAction.Desc
            };
            DbQueryResult cutDownList = PromoteHelper.GetCutDownList(query);

            this.grdCutDownList.DataSource = cutDownList.Data;
            this.grdCutDownList.DataBind();
            this.pager.TotalRecords  = cutDownList.TotalRecords;
            this.pager1.TotalRecords = cutDownList.TotalRecords;
        }