I have many controls on my aspx page (DropDownLists) each bound to a SQLDataSource.
They stored proc takes a long time to run. I have been working with the DBAs for weeks to try to speed them up. We got it down to about 1-2 seconds for the slowest ones. However loading eight of these one a page is too long for a user to wait!
So, I would like to know if there is a way to get these controls to load concurrently, rather than consecutivly?
I ran 32 of these slow procs in SSMS and it took 38 seconds. I ran 4 sets of these 32 procs at the same time in SSMS and they took 42-43 seconds. so it went from 1.19 sec per proc to .34 sec per proc. I would like to use these same methidoligoy in my aspx.net web page.
SUMMARY: Can I force the sql data sources to load concurrently rather than consecutivly.
THANKS!
EDIT: Could I maybe call DataBind manually in my C# code rather than having it do it automatically. I could then start a new thred for each call to DataBind... Might this work?