ASPForums.Net RSS Feed additions to the content that appears on ASPForums.Net(c) 2019 All rights reserved.Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints.<p>Please Refer below link</p> <p><a href=""></a></p> <p><a href=""></a></p> <p>or you can try below code</p> <pre class="brush: csharp">dt.EnforceConstraints = false;</pre> <p>I think this will help you out.</p>, 13 Apr 2015 02:09:33 GMT