How do I validate a cell's value?
|
Article Information
|
Article relates to VIBlend DataGridView for WinForms
|
How To
|
Validate a cell's value.
|
Solution
|
To achieve this, follow these steps:
|
1. Subscribe to the CellValidating event of the DataGridView.
|
2. In the event handler, show a prompt box which allows you to approve or deny the new cell’s value.
|
|
|
|