title: asp.net gridview: reading values and persisting state
body: <p>I have a gridview that is databound to a list of custom objects.  On the client side, the user can enter a price value in a textbox and click on a checkbox for every row in the gridview.  The gridview supports pagination and contains dozens of pages.  When data is changed in the gridview I don't necessarily want to change entries in the database because the user could end up cancelling out of the page, but I do want to remember (for now) what was check on other pages.  </p>
  
  <p>I'm trying to figure out how to read all the values across all the pages in the gridview when the user clicks submit.  I could setup event handlers for the textboxes and checkboxes but I still need to store the modifed list of custom objects.  In ASP, is this normally done in the application cache or should I be storing stuff in the viewstate?  </p>