---
title: Data Entry in DataGridView Control
ms.date: "03/30/2017"
helpviewer_keywords: 
  - "DataGridView control [Windows Forms], data entry"
  - "data entry [Windows Forms], dataGridView control"
  - "data grids [Windows Forms], data entry"
ms.assetid: 4a6d4676-d4e7-4b0e-9c22-50ce65ffe0d6
---
# 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](how-to-specify-the-edit-mode-for-the-windows-forms-datagridview-control.md)  
 Describes how to change the way users start editing cells.  
  
 [How to: Specify Default Values for New Rows in the Windows Forms DataGridView Control](specify-default-values-for-new-rows-in-the-datagrid.md)  
 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](using-the-row-for-new-records-in-the-windows-forms-datagridview-control.md)  
 Describes the row for new records in detail, including information on hiding it, on customizing its appearance, and on how it relates to the <xref:System.Windows.Forms.DataGridView.Rows%2A> collection.  
  
 [Walkthrough: Validating Data in the Windows Forms DataGridView Control](walkthrough-validating-data-in-the-windows-forms-datagridview-control.md)  
 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](handling-errors-that-occur-during-data-entry-in-the-datagrid.md)  
 Describes how to handle data-entry errors that originate from the data source when the user attempts to commit a new value.  
  
## Reference  
 <xref:System.Windows.Forms.DataGridView>  
 Provides reference documentation for the <xref:System.Windows.Forms.DataGridView> control.  
  
 <xref:System.Windows.Forms.DataGridView.EditMode%2A?displayProperty=nameWithType>  
 Provides reference documentation for the <xref:System.Windows.Forms.DataGridView.EditMode%2A> property.  
  
 <xref:System.Windows.Forms.DataGridView.DefaultValuesNeeded?displayProperty=nameWithType>  
 Provides reference documentation for the <xref:System.Windows.Forms.DataGridView.DefaultValuesNeeded> event.  
  
 <xref:System.Windows.Forms.DataGridView.DataError?displayProperty=nameWithType>  
 Provides reference documentation for the <xref:System.Windows.Forms.DataGridView.DataError> event.  
  
 <xref:System.Windows.Forms.DataGridView.CellValidating?displayProperty=nameWithType>  
 Provides reference documentation for the <xref:System.Windows.Forms.DataGridView.CellValidating> event.  
  
## Related Sections  
 [Displaying Data in the Windows Forms DataGridView Control](displaying-data-in-the-windows-forms-datagridview-control.md)  
 Provides topics that describe how to populate the control with data either manually or from an external data source.  
  
## See also

- [DataGridView Control](datagridview-control-windows-forms.md)
- [Column Types in the Windows Forms DataGridView Control](column-types-in-the-windows-forms-datagridview-control.md)
