title: Passing radio button values to the controller
body: <p>I have radio buttons that look like this</p>
  <pre><code>@foreach (ItemHasParts ihp in item.IHP)
  {
      Part part = db.Parts.Find(ihp.PartID);
      string partID = part.ID.ToString();
      &lt;tr&gt;
          &lt;td&gt;
              @part.PartIDLink
          &lt;/td&gt;
          &lt;td&gt;
              @Html.DisplayFor(modelPart =&gt; part.MFG_number)
          &lt;/td&gt;
          &lt;td&gt;
              @Html.DisplayFor(modelPart =&gt; part.Name)
          &lt;/td&gt;
          &lt;td&gt;
              @Html.RadioButton(partID, &quot;Harvest&quot;)
          &lt;/td&gt;
          &lt;td&gt;
              @Html.RadioButton(partID, &quot;Transfer&quot;)
          &lt;/td&gt;
          &lt;td&gt;
              @Html.RadioButton(partID, &quot;Dispose&quot;)
          &lt;/td&gt;
      &lt;/tr&gt;
  }
  </code></pre>
  <p>Here is my controller method</p>
  <pre class="lang-cs prettyprint-override"><code>public ActionResult SpecialOrderSummary(JobOrder job, FormCollection form)
  {
      //list of parts that were chosen to be transferred
      //list of parts that were chosen to be harvested
      //list of parts that were chosen to be disposed        
      return RedirectToAction(&quot;Details&quot;, &quot;JobOrders&quot;, new { id = job.ID });
  }
  </code></pre>
  <p>It loops through and generates the radio buttons for each part. How can I make my controller retrieve the values of each radio button that the user selected?</p>