private void BindData() { NineImgsesQuery query = new NineImgsesQuery { key = "", SortBy = "id", PageIndex = this.pager.PageIndex, PageSize = this.pager.PageSize, SortOrder = SortAction.Desc }; DbQueryResult nineImgsesList = ShareMaterialBrowser.GetNineImgsesList(query); this.refriendscircle.DataSource = nineImgsesList.Data; this.refriendscircle.DataBind(); this.pager.TotalRecords = nineImgsesList.TotalRecords; }
private void BindData() { DbQueryResult nineImgsesList = ShareMaterialBrowser.GetNineImgsesList(new NineImgsesQuery { key = this.ShareDesc, SortBy = "id", PageIndex = this.pager.PageIndex, PageSize = this.pager.PageSize, SortOrder = SortAction.Desc }); this.ShareRep.DataSource = nineImgsesList.Data; this.ShareRep.DataBind(); this.pager.TotalRecords = nineImgsesList.TotalRecords; this.NineTotal.Text = this.pager.TotalRecords.ToString(); }