views:

43

answers:

0

Hi,

DataSets in ADO.Net throw exceptions when there are constraint violations etc. It is easy to catch these exceptions in the WinForms UI Layer using DataGridView (using DataError event).

However, I am unable to find a way to catch and handle these exceptions when using simple data bound (to datasets) controls such as textboxes. Any ideas?

Thanks!

Edit Sorry folks, but can anyone tell me the reason why I haven't received any answer/comment? Is it something about my question that is not understandable? I am quite open to suggestions/ criticism. Thanks again.