I have a table in my view (See picture below) where I need to collect the values from a radio button group. So then I push the next button I have a list with the values for each table row. This is my code in the view.
@foreach (var item in ViewBag.convertedSubjectsList)
{
<tr>
<td>
<br />
<br />
@item.Part
<br />
<br />
</td>
<td>
@item.Name
</td>
<td>
<form>
<input type="radio" name="used" value="yes" />
@Resources.Resources.SubjectRadioYes<br />
<input type="radio" name="used" value="no" />
@Resources.Resources.SubjectRadioNo
</form>
</td>
</tr>
}
Is this posible?
View:
Controller: