Page crashes when binding to Gridview

On a certain forum, I read somebody was having an issue with their GridView. He had a page with certain inputs to filter data. Upon submitting the form would fetch data from the database and bind it to a GridView.

The problem he had was when he clicked his button the page crashes and browser would say page cannot be displayed.

The reason he found was that the search was returning him thousands of records. If his search was returning fewer records it would display.

My suggestion would be to use Paging and load data in batches as needed.

Nothing really great but hope this helps.

No Comments