How to: View Errors Within a DataSet with the Windows Forms ErrorProvider Component
You can use the Windows Forms ErrorProvider component to view column errors within a dataset or other data source. For an ErrorProvider component to display data errors on a form, it does not have to be directly associated with a control. Once it is bound to a data source, it can display an error icon next to any control that is bound to the same data source.
Bind the component to a specific column within a data table.
Set the ContainerControl property to the form.
Set the position of the current record to a row that contains a column error.