如何将带有操作链接的无线电值传递给控制器
这是我的View Page代码:
foreach (var item in Model)
{
<div style="height:20px; background-color:#e1e1e1; border-radius:5px; padding:5px">
<div style="float: left; margin-right: 10px">
@Html.RadioButton("DealerRadio", item.id, new { @style = "margin-right:10px" })
</div>
<div style="float: left; margin-right: 30px">
@Html.DisplayFor(modelItem => item.company, new { @style = "margin-right:30px" })
</div>
<div style="float: left; margin-right: 30px">
@Html.DisplayFor(modelItem => item.address, new { @style = "margin-right:10px" })
</div>
<div style="float:right">
@Html.Label("Tell:") @Html.DisplayFor(modelItem => item.contact)
</div>
</div>
<div class="clear"></div>
}
<p>@Html.ActionLink("BUY NOW", "PreOrder", new { Dealer_id = "", Tire_id = ViewBag.Tireid }, new { @class = "btn btn-Buy" })</p>
请求帮助我这样做