title: How do you make a gridview only populate after information is entered?
body: <p>I am sure this is incredibly simple but I have a gridview, tableadapter, objectdatasource, and a textbox.</p>
  
  <p>When I run the page I get:</p>
  
  <p>Value cannot be null.
  Parameter name: permanent</p>
  
  <p>This is because my query has a parameter that it is looking for from the textbox.  If I manually enter in data for the textbox's text value and load the page, the query runs fine.</p>
  
  <p>How do I make it so the query only runs after I put data into my textbox?  I don't want the query to run until someone put something in to search for.  I looked at all the properties and didn't see anything obvious.</p>
  
  <p>Thank you.</p>