G
Guest
I have a strongly typed dataset which I want to fill with data. If the data
has errors (e.g. duplicate primary keys) I want to receive a
DataAdapter.FillError event.
However, this event does not fire. I both tried
myDataAdapter.ContinueUpdateOnError = False and
myDataAdapter.ContinueUpdateOnError = True but to no avail.
BTW, the myDataAdapter.Fill(myTableName) method does not fire the FillError
event but it does throw an exception "Failed to enable constraints. One or
more rows contain values violating non-null, unique, or foreign-key
constraints."
Any ideas how to activate the FillError event?
Thanks,
Guido
has errors (e.g. duplicate primary keys) I want to receive a
DataAdapter.FillError event.
However, this event does not fire. I both tried
myDataAdapter.ContinueUpdateOnError = False and
myDataAdapter.ContinueUpdateOnError = True but to no avail.
BTW, the myDataAdapter.Fill(myTableName) method does not fire the FillError
event but it does throw an exception "Failed to enable constraints. One or
more rows contain values violating non-null, unique, or foreign-key
constraints."
Any ideas how to activate the FillError event?
Thanks,
Guido