Demonstrates how to customize the Typed DataTable of Typed DataSet to create custom Business Rule, and then how to implement this Validation on User Interface (in a Grid View or in a Detail View).
See:
Working Details:
How to add Column/Row Validation Using Typed DataTable
Beth Massi's video tutorial:
How do I: Add Validation?
Note that video contains a minor exception, but will give the idea.
Level: Intermediate
Knowledge Required:
To understand this project you should know,
- How to add Typed DataSet
- How to bind controls with Typed DataSet
- What is Partial Class
- BindingNavigator
- DataGridView
- TextBox
- Label
- Button
- ErrorProvider
- Typed DataSet
- BindingSource
- How to put Validation Rule in Typed DataTable using Partial Class
- How to Implement ErrorProvider Component
CustomValidation.zip