Denaes Posted August 3, 2006 Posted August 3, 2006 I'm doing my validation on rowchanged events in the dataset, but sometimes the database passes back an exception. When the database passes back an exception, it sets a Row Error. The only way I can see to clear the Row Error is to run RowWithErrors.ClearErrors(), but this also clears out all other validation errors on the Columns. The only workaround I can see is to go through the columns and copy their errors, run RowWithErrors.ClearErrors(), then run through the columns again and reassign their errors, which seems a little akward. I'm sure I could come up with a procedure that handles this generically, but is there something I'm missing that's a little more straight forward? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.