MVC RadioButton控件

@Html.RadioButtonFor(m => m.IfValid, 1, new { @id = "radio1", @name = "rdolstState" })是

@Html.RadioButtonFor(m => m.IfValid, 0, new { @id = "radio0", @name = "rdolstState" })否

  @Html.RadioButtonFor(m => m.TypeId, 1, new { @id = "radio1", @name = "rdolstState",@checked=true })游客咨询

原文地址:https://www.cnblogs.com/whutwxj/p/5516109.html