I have a web application that is using a data store that has it's own built in paging. The PagedResult class tells me the number of total pages. What I would like to do it (after binding my ASP.NET GridView) do this:
MyGridView.PageCount = thePageCount;
And then have the GridView magically build the pagination links as it normally would if it was doing things itself.
The problem is that "PageCount" is a read-only property... so, how can I do this simply?