title: How to copy One row to another row in gridview
body: <p>Using VB.Net</p>
  
  <p>I want to Copy one row data to another row.</p>
  
  <p>I am using checkbox in the gridview, if i clicked the checkbox and press button then selected row copy to new cell (row)</p>
  
  <p>Below code is working for delete, not working for copy the rows</p>
  
  <p>Code </p>
  
  <pre><code> Private Sub btncopy_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btncopy.Click
          For Each m_row As System.Windows.Forms.DataGridViewRow In Me.grvList.Rows
              If m_row.Cells("chksel").Value = True Then
                 Me.grvList.Rows.Add(m_row)
               '  Me.grvList.Rows.Remove(m_row)
              End If
          Next
      End Sub
  </code></pre>
  
  <p>The above code is showing error as "Row provided already belongs to a DataGridView control."</p>
  
  <p>What wrong with my code.</p>
  
  <p>Need VB.Net Code Help</p>