开发者

ASP MVC DropDownList returns 0

Hey, following my struggles with the MVC DropDownList posted here, it seems that my DropDownList always returns 0 when I submit the form. I still h开发者_如何学编程ave the same code as the other thread.

ASP MVC DropDownList returns 0

Is it because the Status and Type Tables are not linked together in the code? I really don't know where to start to look for the problem.

Thanks.


This has been answered by Terje in the comment of my original post. The name of the fields needs to match those of the table.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜