In an ASPX page, I have 7 user controls loaded. In each user control there are data bound controls (gridview for example).
Currently each user control runs a query to return data. The data returned is the same for each user control, and I filter out what I need to show for each user control. So the same query is being run 7 times (Yeah I know).
What I'd like to do is have the datatable created in the ASPX page, and then allow each gridview use that datatable as its DataSource so the query is only run once.
I'd appreciate any help with this.