Use Html.RadioButtonFor and Html.LabelFor for the same Model but different values

前端 未结 7 1821
陌清茗
陌清茗 2020-12-13 02:11

I have this Razor Template

提交回复
热议问题
@Html.RadioButtonFor(i => i.Value, \"1\") @Html.LabelFor(i =>
7条回答
@Html.RadioButtonFor(i => i.Value, true) True @Html.RadioButtonFor(i => i.Value, false) False