# Data Entry in the Windows Forms DataGridView Control

The DataGridView control provides several features that let you change how users add or modify data in the control. For example, you can make data entry more efficient by providing default values for new rows and by alerting users when errors occur.

## In This Section

How to: Specify the Edit Mode for the Windows Forms DataGridView Control
Describes how to change the way users start editing cells.

How to: Specify Default Values for New Rows in the Windows Forms DataGridView Control
Describes how to prepopulate the row for new records to save data-entry time.

Using the Row for New Records in the Windows Forms DataGridView Control
Describes the row for new records in detail, including information on hiding it, on customizing its appearance, and on how it relates to the Rows collection.

Walkthrough: Validating Data in the Windows Forms DataGridView Control
Describes how to validate user input to prevent data-entry formatting errors.

Walkthrough: Handling Errors that Occur During Data Entry in the Windows Forms DataGridView Control
Describes how to handle data-entry errors that originate from the data source when the user attempts to commit a new value.

## Reference

DataGridView
Provides reference documentation for the DataGridView control.

DataGridView.EditMode
Provides reference documentation for the EditMode property.

DataGridView.DefaultValuesNeeded
Provides reference documentation for the DefaultValuesNeeded event.

DataGridView.DataError
Provides reference documentation for the DataError event.

DataGridView.CellValidating
Provides reference documentation for the CellValidating event.

Displaying Data in the Windows Forms DataGridView Control
Provides topics that describe how to populate the control with data either manually or from an external data source.