Posted on: 10/29/2013 8:25:32 AM | Views : 1025

Hi Experts,
I am using custom paging in Asp.net webpage where in I am bringing only selected data rows (which is 10 rows) from Database out of total rows (which is lets say 1000) and binding with GridView and repeating the same for each page navigation within the GridView. i have read some article and could do this. I could write the stored procedure which gives me specifc records. This stored procedure also returns total row count (1000) but I am not sure how to associate total row count (1000) with the GridView so that the GridView starts showing me the page number on the pager at the bottom of the Gridview. some article says to store this value in ViewState but what to do next is not mentioned.
could someone please help me out and let me know how to associate Total Row Count to the Gridiew ?

Go to the complete details ...