我有以下视图页面,
@using (Html.BeginForm())
{
<fieldset class="fs">
@foreach (var item in Model.lstTravelReadyEntities)
{
<label class="Detail1"><b>Associate Id : </b>@item.Var_AssoId </label>
<label class="Detail1"><b>Vertical :</b>@item.Var_Vertical</label>
<label class="Detail1"><b>Visa ValidFrom :</b>@item.Dt_VisaValidFrom </label><br /><br />
<label class="Detail2"><b>Associate Name :</b>@item.Var_AssociateName</label>
<label class="Detail2"><b>Account Name :</b>@item.Var_AccountName</label>
<label class="Detail2"><b>Visa ValidDate :</b>@item.Dt_VisaValidTill</label><br /><br />
<label class="Detail3"><b>Grade HR :</b>@item.Var_Grade</label>
<label class="Detail3"><b>Project Name :</b>@item.Var_Project_Desc</label><br />
}
<h2> Response Details</h2><br />
Supervisor Response :<input type="radio" class="radi"
name="radio" value="yes" onclick="javascript:Getfunc(this.value);">Yes
<input type="radio"
name="radio" value="no"
onclick="javascript:Getfunc(this.value)">No
<div id="es"></div>
<input type="submit" id="insert" value="Submit"
name="Submit" onclick="javascript:InsertDetails(item);"/>
</fieldset>
}
我想将此视图页面的所有值作为参数传递给控制器,以便将这些值插入新表中。我怎样才能实现这一点?