title: Deleting a Row in a Datatable -> DeletedRowInaccessible
body: <p>So i have this datagridview1 filled with a datatable(index 1) in a dataset(db1) and im trying to delete the currently selected row via Button.</p>
  
  <pre><code>private void delempl_Click(object sender, EventArgs e){
      db1.gettable(1).Rows[dataGridView1.CurrentRow.Index].Delete()
      db1.updatedb(); //sending the changes to my DB
  }
  </code></pre>
  
  <p>I also write the first/lastname into 2 textboxes whenever the selection in the datagridview is changed by the user</p>
  
  <pre><code>private void dataGridView1_SelectionChanged(){
      lname.Text = db1.gettable(1).Rows[dataGridView1.CurrentRow.Index][2].ToString();
      fname.Text = db1.gettable(1).Rows[dataGridView1.CurrentRow.Index][1].ToString();
  }
  </code></pre>
  
  <p>Deleting the last row works fine but when i try to delete one in the middle i get an DeletedRowInaccessible Exception on:</p>
  
  <pre><code>lname.Text = db1.gettable(1).Rows[dataGridView1.CurrentRow.Index][2].ToString();
  </code></pre>
  
  <p>I guess the moment the row gets deleted, the selection changes and triggers the dataGridView1_SelectionChanged-Event.</p>
  
  <p>Any way to fix that?</p>