title: Delete row from DataGridView via button on the row
body: <p>How can I delete a DataGridView row via a button on the row?</p>
  
  <p>screenshot: <a href="http://i.imgur.com/8342MKT.png" rel="nofollow">http://i.imgur.com/8342MKT.png</a></p>
  
  <p>When the user clicks the '삭제' button on a row, I want to delete that row.</p>
  
  <p>I tried this:</p>
  
  <pre><code>For Each row As DataGridViewRow In DataGridView1.SelectedRows
    DataGridView1.Rows.Remove(row)
  Next
  </code></pre>
  
  <p>But although this worked for a button outside the DataGridView, it doesn't work with a button in the DataGridView.</p>
  
  <p>How can I make this work with the button in the DataGridView?</p>