无法启用约束 [英] Failed to enable constraints

查看:117
本文介绍了无法启用约束的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试使用视图填充数据集时,出现以下约束异常:
无法启用约束.一或多个行包含违反非null,唯一或外键约束的值.

任何人都可以帮忙吗?

When I tried to fill a dataset using view I am getting following constraint exception:
Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints.

Can anyone help?

推荐答案

查看您的数据:该消息表示存在问题.
不幸的是,几乎什么都可以!

这里有一个讨论可能会给您一些想法,让您从哪里开始寻找:
Look to your data: the message implies there is a problem with it.
Unfortunately, it could be almost anything!

There is a disscussion here that may give you some ideas where to start looking: http://social.msdn.microsoft.com/Forums/en-US/Vsexpressvb/thread/27aec612-5ca4-41ba-80d6-0204893fdcd1/[^]


这篇关于无法启用约束的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆