private DataSet GetDataGridSource() { string where = "CompanyID=" + CompanyID; DataSet ds = PatchBLL.GetPatchPagingitems(this.PagingControl1.ListRecordNumPerPage, this.PagingControl1.CurrentPage, where); return(ds); }
private void GetTotalRecords() { string where = "CompanyID=" + CompanyID; TotalRecords = PatchBLL.GetPatchTotalItems(where).ToString(); PagingControl1.TotalRecords = int.Parse(TotalRecords); }