DataGridViewRowCollection.IList.RemoveAt Method (Int32)
Removes the DataGridViewRow from the collection at the specified position.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
index is less than zero and greater than the number of rows in the collection minus one.
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:
Available since 2.0