DataGridViewRowCollection.Insert Method


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Inserts one or more rows into the collection.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

System_CAPS_pubmethodInsert(Int32, DataGridViewRow)

Inserts the specified DataGridViewRow into the collection.

System_CAPS_pubmethodInsert(Int32, Int32)

Inserts the specified number of rows into the collection at the specified location.

System_CAPS_pubmethodInsert(Int32, Object[])

Inserts a row into the collection at the specified position, and populates the cells with the specified objects.

Return to top