Validating Data
Datasets provide specific events that are raised as values in data rows change. Event handlers can be created (in partial classes) to validate these changes based on your particular application requirements. The following topics detail these events and provide an explanation of the information passed to each event.
In This Section
- Data Validation Overview
-
Provides an overview of events that can be used to analyze data before being committed to the dataset.
- How to: Validate Data During Column Changes
-
Describes how to validate data during the ColumnChanging event.
- How to: Validate Data During Row Changes
-
Describes how to validate data during the RowChanging event.
- Walkthrough: Adding Validation to a Dataset
-
Provides step by step information for adding validation code to a dataset.
Reference
- ColumnChanging
-
The event that is raised when data in a column is about to be changed.
- RowChanging
-
The event that is raised when data in a data row is about to be changed.