A ConstraintException exception is thrown when an action is attempted that violates a constraint.
You can use the EnforceConstraints property to temporarily turn off constraints while filling tables in a DataSet object.
If the primary key exists, this exception is thrown.
If there is data in the dataset when you load it, this exception may be thrown.