title: Filling DataGridView from Dataset
body: <p>I have  a <code>DataSet</code> and a <code>DataGridView</code>. If I click the first button I want to show data from first table, and If I click the second I want to show data from the second table.</p>
  
  <p>I tried the following</p>
  
  <pre><code>if(b==1)
  {
      dataGridView1.DataSource = ds.Table1;
  }
  else if(b==1)
  {
      dataGridView1.DataSource = ds.Table2;
  }
  </code></pre>
  
  <p>But what I see is an empty <code>DataGridView</code> (without the column names).</p>