title: DataGridView becomes null for some reason
body: <p>I have a NET 2.0 framework ASP.NET application ..</p>
  
  <p>The page I'm having trouble with has a button (<strong>B1</strong>), and the below that a DataGridView (<strong>DGV</strong>), and then below that a second button (<strong>B2</strong>) ..</p>
  
  <p>Initially only B1 is visible. When user clicks B1, I do some DB queries, fetch some data, put it in a DataTable, and then set the <code>DataSource</code> of that DGV to this DataTable .. B1 also makes DGV and B2 visible, both of which were invisible before .. Now user fills in some data in the now-visible DGV and clicks B2 ..</p>
  
  <p>Problem is that in B2's code, if I try to see the DataSource of that DGV, its null !? .. I need to access the updated values in that DGV .. How do I do that ?</p>
  
  <p>I've tried a few hacks, but nothing seems to work .. I've sort of got it working through <code>FindControl</code>, but I don't want to use that because I need the original DataTable for other reasons (not mentioned here because they're quite complex) ..</p>
  
  <p><strong>Code behind B1, setting DataTable DataSource:</strong></p>
  
  <p><code>epsDGV.DataSource = epsDataDT; // epsDataDT is the DataTable:</code></p>
  
  <p><strong>Code behind B2, fetching DataTable:</strong></p>
  
  <p><code>DataTable epsDataDT2 = (DataTable)epsDGV.DataSource; //returns null</code></p>