protected void GetData() { //DataRow dr = group.GetInfo(groupid); publish = new Publish(groupid); rptGroup.DataSource = publish.GetPublish_Noibat(); rptGroup.DataBind(); this.txtKeyword.Text = keyword; string PageQuery = "page"; string strcPage = Request.QueryString[PageQuery]; if (strcPage == null) { strcPage = "1"; } int cPage = Convert.ToInt32(strcPage); int TotalRecords, TotalPages; rptFree.DataSource = publish.GetNotInPublish_Noibat(keyword, groupid, cPage, 25, out TotalRecords, out TotalPages); rptFree.DataBind(); UssUrl sUrl = new UssUrl(); PageList1.m_pTotalPage = TotalPages; PageList1.m_pPageQuery = PageQuery; PageList1.m_pCurrentPage = cPage; PageList1.m_pPageUrl = sUrl.Url; PageList1.m_pIconPath = Globals.UrlImages; ltlTotal1.Text = string.Format(Language.GetTextByID(45), TotalRecords); }