Saturday, November 27, 2010 shows error but application works? How to solve the problem

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

1 comment:

  1. This database is compatible with .NET, Silverlight, Windows Phone, Mono, Monodroid, and Monotouch: