M
Martin
Hi,
I'm loading a dataset from a cached viewstate version of the dataset created
on a previous http request. When I read the call ReadXml on the typed
dataset, I get:
"Failed to enable constraints. One or more rows contain values violating
non-null, unique, or foreign-key constraints"
I suspect this is due to a field in one of the tables which can be null, but
if it is not null it is a foreign key to another dataset table. At present
the field in this table is null (in the database).
What attributes of the dataset table field, or the dataset constraint should
I set to indicate null values don't violate the constraint?
Thanks
Martin
I'm loading a dataset from a cached viewstate version of the dataset created
on a previous http request. When I read the call ReadXml on the typed
dataset, I get:
"Failed to enable constraints. One or more rows contain values violating
non-null, unique, or foreign-key constraints"
I suspect this is due to a field in one of the tables which can be null, but
if it is not null it is a foreign key to another dataset table. At present
the field in this table is null (in the database).
What attributes of the dataset table field, or the dataset constraint should
I set to indicate null values don't violate the constraint?
Thanks
Martin