0
我基于我在网上搜索的示例创建了自己的ASP.NET MVC CheckBoxList HtmlHelper。助手基本上在页面上创建多个复选框上输入:如何将自定义HtmlHelper绑定到控制器的操作参数
<input type="checkbox" name="Item1" value="1" checked>Item1</input>
<input type="checkbox" name="Item2" value="2" >Item2</input>
<input type="checkbox" name="Item3" value="3" >Item3</input>
能有人给我上HtmlHelpers如何绑定形式控制值回操作参数的想法,和我上面的CheckBoxList的,我怎么绑定值返回到操作参数?
谢谢!