dotnetmonitor.com |
|
||||||||||||
The
DataGridViewRow class displays a record's data fields from the data store to
which the DataGridView control is attached. You can access the DataGridView
control's rows by using the Rows collection. You can access the selected rows
by using the SelectedRows collection.
You can derive your own types from the DataGridViewRow class, although this will typically not be necessary. The DataGridView control has several row-related events and properties for customizing the behavior of its DataGridViewRow objects.
If you enable the DataGridView control's AllowUserToAddRows property, a special row for adding new rows appears as the last row. This row is part of the Rows collection, but it has special functionality that may require your attention. For more information, see Using the Row for New Records in the Windows Forms DataGridView Control. |
||||||||||||
|
||||||||||||