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

  Right click the table adapter and there is an option to delete the primary key(s).  Then it worked.

 

(http://forums.asp.net/p/1154874/1901799.aspx#1901799)

posted @ 2008-02-18 11:49 Vincent Yang 阅读(666) 评论(0) 编辑 收藏