Validating event c updating maps for magellan
You can use a Windows Forms Error Provider component to display an error icon when the user enters invalid data.You must have at least two controls on the form in order to tab between them and thereby invoke the validation code.The Format event on a data binding can be used to reformat incoming data to comply with the mask, and the Parse event can be used to reformat outgoing data to comply with the specifications of the data field. If you want full programmatic control over validation, or need to perform complex validation checks, you should use the validation events built into most Windows Forms controls.
Validation is very useful when you have bound your controls to a data source, such as a database table.By using validation, you can make sure that your control's data satisfies the format required by the data source, and that it does not contain any special characters such as quotation marks and back slashes that might be unsafe.When you use data binding, the data in your control is synchronized with the data source during execution of the Validating event.Validated events from occurring, and also prevents the user from leaving the invalid row and prevents the row from being saved to an external data source in data bound mode.For more information about handling events, see NIB: Consuming Events.
The implicit validation approach validates data as the user enters it.