I have two SqlDataSource controls on a page. One loads high level data and the other loads more details based on which high level item you choose. It is a part of a large search that has over 900,000 records and I am looking for ways to speed it up. Whether it is options I can add onto the SqlDataSource, things I can do to the sql query, or use an alternative such as an ObjectDataSource.
I changed the DataSourceMode to DataReader because I heard it was faster and uses less memory. I also noticed that the paging is really slow.
I am doing the following from my this website, http://mosesofegypt.net/post/2008/02/Building-a-grouping-Grid-with-GridView-and-ASPNET-AJAX-toolkit-CollapsiblePanel.aspx, but obviously with my data which is over 900,000 records and I am unsure how I can add paging to the second gridview, because right now, it is only on the top-level gridview