I have a DataSet that has had a new field added to it recently. When my console application runs, it was throwing a “Failed to enable constraints” exception. I needed to find out which column in the DataSet was causing the error, so a co-worker suggested I create a temporary data adapter/set, so I can examine the GetErrors() method. Once the exception occurs, access the GetErrors() property using the Watch window. This will tell you exactly what your issue is.
Read more: GetErrors()
0 comments:
Post a Comment