protected void BindPendingPublishDoc() { int rowcount = ucCustomPagerItems.isCountRecord; DataTable dtPendingList = BLL_QMSDB_Procedures.QMSDBProcedure_PendingApprovel(int.Parse(Session["USERID"].ToString()), ucCustomPagerItems.CurrentPageIndex, ucCustomPagerItems.PageSize, ref rowcount); gvPendingPublishDoc.DataSource = dtPendingList; gvPendingPublishDoc.DataBind(); if (ucCustomPagerItems.isCountRecord == 1) { ucCustomPagerItems.CountTotalRec = rowcount.ToString(); ucCustomPagerItems.BuildPager(); } }