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

前端 未结 0 433
不知归路
不知归路 2021-02-11 06:09

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:

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