阅读背景:

试图允许空值但是......“可以为空的对象必须有一个值”

来源:互联网 

I am trying to allow nulls in my drop down list, in my database table I have set allow nulls for that specific field which is int, but when I run the code I get error saying "Nullable object must have a value", I think problem may be in ModelState.I am trying to allow nulls in my drop down list




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: