Beispiel #1
0
        private void BindPromoteSales()
        {
            string searchcontent = this.Page.Request.QueryString["searchcontent"];

            searchcontent = HttpUtility.UrlDecode(searchcontent);
            Pagination pagination = new Pagination();

            pagination.PageIndex = this.pager.PageIndex;
            pagination.PageSize  = this.pager.PageSize;
            int       totalRecords = 0;
            DataTable helps        = CommentBrowser.SearchHelps(pagination, searchcontent, out totalRecords);

            if (helps != null && helps.Rows.Count > 0)
            {
                this.rptHelpSearch.DataSource = helps;
                this.rptHelpSearch.DataBind();
            }
            this.pager.TotalRecords = totalRecords;
        }