How to render a model property of string type as checkbox in ASP.NET MVC

前端 未结 0 1263
眼角桃花
眼角桃花 2021-02-11 06:06

I want to display a string type as checkbox on MVC view, but returns it as string type on HTTP post. The problem is that it returns false on HTTP Post. Below is my code:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题