我的项目中有错误 [英] error in my project

查看:64
本文介绍了我的项目中有错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


在我的项目中,我想添加假期.当我输入数据并单击不显示的保存按钮时.
当我在调试模式下通过断点运行时,错误为(假日ID不允许为空值).抛出此异常.
在后端没有问题,而在前端只有问题来了.
请帮我该怎么办.

我们将holidayid作为主键.


in my project i want to add the holidays.when i am entering the data and clicking on the save button it is not displaying.
when i was running through (in debug mode) break point the error is(holiday id cannot allow null values).this exception it is throwing.
In the backend there is no problem in the front end only problem is coming.
please help me what to do.

we taken holidayid as primarykey.

推荐答案

您是否已在Identity Specification中进行设置
身份是吗
身份增量1
身份种子1
假期ID
在表中?
Have you set in Identity Specification
Is Identity yes
Identity Increment 1
Identity Seed 1
of holiday id
in table ?


这篇关于我的项目中有错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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