C# GridView Paging
1. how aspx page looks
remeber to add event on your gridview, which is pageindexchanging, if you don't and run the page, it'll throw exception error.
2. page load event
So, on page load section, assume you load data from your business logic layer, between page's post, you could use ViewState to maintain your state.
3. paging event
On paging event, load data from ViewState, changing the paging's index.
If you check the HTML source, you actually didn't get page you need to display to UI, didn't dump entire data to the page.
Inclusion, good thing for this, you could control on each of the paging event, include what's data you want to display to UI. bad thing, it's you need to find way to maintain state, this example is using viewstate, you have to be careful, since remeber your viewstate might be huge files. Also, have to go back to server to do paging.