I'm having problems using the errorprovider in VB.NET to automatically
display an error icon next to textboxes bound to the same dataset as the
errorprovider.
The sequence of events is :
Build a dataset containing a single table.
Bind the textboxes on a windows form to the datatable.
Bind the errorprovider control to the same datatable.
Use SetColumnError to create an error condition in the datatable.
Navigate to the row containing the error so that its fields are shown in the
bound textboxes.
At thispoint I would expect the error icon to automatically appear next to
the textbox which is bound to the column containing the error - but nothing
appears.
If I bind the same datatable to a datagrid and repeat the same sequence of
events an error icon is displayed in the grid cell.
The help on this subject suggests that any bound control should
automatically activate the error icon when column errors are present on the
current row as you will see if you follow this link :
http://msdn.microsoft.com/library/de...dercontrol.asp
Help on this would be extremely gratefully received while I still have some
hair left !
(I can supply sample code if this would help)