Hi,
Use CellValidating event of DataGridView to validate cell values.
Steps:
- Use DataGridView's CellValidating event,
- Get the cell for which the event is called,
- If the cell is in EditMode then,
- Perform validation.
http://msdn.microsoft.com/en-us/library/ykdxa0bc.aspx[
^]
Hope that helps... :)
Jasmin