I am finding the following code is behaving differently between VS2003 and
VS2005. In VS2003 GetErrors returns all of the errors in Tables(0) but in
VS2005 only the first error is returned. Is there a way to get all of the
errors?
Try
dataSet.EnforceConstraints = True
Catch ex2 As System.Data.ConstraintException
Dim errorRows As DataRow() = dataSet.Tables(0).GetErrors
VS2005 version information:
Microsoft Visual Studio 2005 Team Suite Edition Beta 2-English
Version 8.0.50215.44 (beta2.050215-4400)
Thanks,
Larry Hunt