G
Guest
Hi friends,
I have similar question. I am getting the well-known "Failed to enable
constraints. One or more rows
contain values violating non-null, unique, or foreign-key constraints."
message in one ASP .net application.
In order to get these "One or more rows", we have GetError method in
dataset, but I am dealing with tableadapter. I have created tableadapter
using wizard. I have no idea how to disable EnableConstraints property or use
GetError method in case of tableadapter created using wizard. (I have tried
ClearBeforeFill=true, but the problem persists)
Please help me to solve problem.
Thanks in advance,
-yogee
I have similar question. I am getting the well-known "Failed to enable
constraints. One or more rows
contain values violating non-null, unique, or foreign-key constraints."
message in one ASP .net application.
In order to get these "One or more rows", we have GetError method in
dataset, but I am dealing with tableadapter. I have created tableadapter
using wizard. I have no idea how to disable EnableConstraints property or use
GetError method in case of tableadapter created using wizard. (I have tried
ClearBeforeFill=true, but the problem persists)
Please help me to solve problem.
Thanks in advance,
-yogee