asp.net c# dropdownlist choice makes gridview display selected number of records
Posted on 2012-03-23
I have a page where a user searches a database based on a stored procedure. The stored procedure populates a gridview. I'm attempting to have a dropdownlist control where I can offer users the choice of displaying "25", "50", "100" records or "display all".
After the search is complete and the gridview displays the total number of records, I would like to offer users the ability to see only 25, 50, 100 or all records.
The gridview should also offer pagination in the footer...
ANY HELP with this would be greatly appreciated.