Return List from view to controller in MVC 3

前端 未结 3 587
梦毁少年i
梦毁少年i 2020-12-11 08:54

I currently have an object Tag defined as follows:

public class Tag
{
    public string Name { get; set; }
}

Now, this is a co

3条回答
  •  感动是毒
    2020-12-11 09:17

    This is similar to something i have done in a site im working on.

    I used this extension @Html.CheckBoxListFor()

    Hope this helps.

提交回复
热议问题