Rabu, 24 November 2010
Debugging: Failed to Enable Constraints
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
Langganan:
Posting Komentar (Atom)
Tidak ada komentar:
Posting Komentar