DataGridViewRowCollection.Remove Method (DataGridViewRow)
Removes the row from the collection.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
dataGridViewRow is null.
dataGridViewRow is not contained in this collection.
dataGridViewRow is a shared row.
The associated DataGridView control is performing one of the following actions that temporarily prevents new rows from being added:
This method is being called from a handler for one of the following DataGridView events:
dataGridViewRow is the row for new records.
Available since 2.0