This constraint cannot be enabled as not all values have corresponding parent values
By default, when you create a relationship, it enforces foreign key constraints, by setting to false, you are telling it that you dont want to enforce the relationship.
ds1.DataRelation.Add(“relCustOrder”, parentCol, childCol, false)
The solutions is to set constraint in DataRelation class to false