title: VB.net DataGridView incorrect display when change data
body: <p>I put the code below on ComboBox1.SelectedIndexChanged and the first time it's OK, but if I change the value of combo the DataGridView contain the new values with the olds :(</p>
  
  <pre><code>Adapter.SelectCommand = New MySqlCommand("SELECT * FROM table where id_user = " &amp; ComboBox1.SelectedValue.ToString &amp; ";", cn)
  Adapter.Fill(AppDataSet11.timbrature)
  DataGridView1.AutoResizeColumns(DataGridViewAutoSizeColumnsMode.AllCells)
  </code></pre>