title: Does a Sql Datasource run a select query on load if no contol binds is bound to it?
body: <p>How can I configure a gridview and datasource on a page to only execute the query if the user clicks a button?</p>
  
  <p>The datasource will return over 1 million records and the page will be accessed by a lot of people at the same time. One potential way to achieve this is to set up the datasource with a connection string and query, but do not assign it to the grid view. Then assign the gridview to the datasource and call databind when it is needed.</p>
  
  <p>In this scenario, will the datasource run the query on page load? Or will it only run the query when I call databind on the gridview?</p>