无法在 Visual Web Developer 2010 Express MVC 中更改数据库表中的列属性

发布于 2024-10-08 17:18:27 字数 81 浏览 0 评论 0原文

当我尝试将身份规范从“否”编辑为“是”时,没有办法做到这一点。没有下拉箭头或任何编辑文本的方式。我怎样才能改变它,以便我实际上可以将值更改为“是”?

When I try to edit the Identity Specification from No to Yes there isn't a way to do so. No drop-down arrow or any way to edit the text. How can I change it so that I can actually change the value to 'Yes'?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

森林很绿却致人迷途 2024-10-15 17:18:28

首先,检查您的列是否为主键(PK)。
表创建脚本也会有很大帮助。

First of all, check your column to be a primary key(PK).
Also table creation script will help a lot.

风吹过旳痕迹 2024-10-15 17:18:28

我发现问题实际上是我将数据类型设置为 nvarchar() 而不是 int。

I found that the problem was in fact that I had set the data type to a nvarchar() instead of int.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文