Example #1
0
        private void BindData()
        {
            DataSet ds = new d.SearchData().GetTermsByDocIdP(getId(), pager.PageSize, pager.CurrentPage, dgrTerms.SortExpression);

            dgrTerms.DataSource = ds.Tables[0];
            dgrTerms.DataBind();
            pager.AdjustAfterBinding(Convert.ToInt32(ds.Tables[1].Rows[0][0]));
        }
Example #2
0
        private void BindData()
        {
            DataSet ds = new d.LinkData().GetOutboundLinksP(getId(), pager.PageSize, pager.CurrentPage, dgrPages.SortExpression);

            dgrPages.DataSource = ds.Tables[0];
            dgrPages.DataBind();
            pager.AdjustAfterBinding(Convert.ToInt32(ds.Tables[1].Rows[0][0]));
        }
Example #3
0
        private void BindData()
        {
            DataSet ds = new d.DocData().GetRecordsP(makeQuery(), pager.PageSize, pager.CurrentPage, dgrPages.SortExpression);

            dgrPages.DataSource = ds.Tables[0];
            dgrPages.DataBind();
            pager.AdjustAfterBinding(Convert.ToInt32(ds.Tables[1].Rows[0][0]));
        }