码迷,mamicode.com
首页 > 其他好文 > 详细

DataTable - Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints

时间:2014-05-07 19:18:56      阅读:362      评论:0      收藏:0      [点我收藏+]

标签:int   strong   c   set   for   table   

solution1.Tick the primary key  

  1.right click on the Id of the entity in dataset schema.

  2.Edit Key

  3.Tick the Primary Key

  

DataTable - Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints,布布扣,bubuko.com

DataTable - Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints

标签:int   strong   c   set   for   table   

原文地址:http://www.cnblogs.com/jinxinhelloworld/p/3709777.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!