Vb.net shows error but application works? How to solve the problem

Posted by dragon on Friday, 30 September 2011

Sometimes the datagridview control show error but the application works normally.
in fact in these cases is sufficient to close the error message and the application works normally.
However one wants that the error message isn't showed.
To eliminate the error message:
  1. Call the datagridview dataerror event
  2. Insert in the event routine this code: e.Cancel = True

{ 0 comments... read them below or add one }

Post a Comment