title: Passing Textbox Value using Html.ActionLink
body: <p>I have a table that lists products as well as displays a quantity text box and an Html.ActionLink.  Each quantity textbox has a unique id derived from the product id.  I think this should be simple but I can't seem to figure out how to get the value in the associated textbox passed to my controller when the user clicks on the link.  My code is below and any help is appreciated.</p>
  
  <pre><code>    &lt;% foreach (var item in Model) { %&gt;
  
      &lt;tr&gt;
          &lt;td&gt;
              &lt;%= Html.Encode(item.Id) %&gt;
          &lt;/td&gt;
          &lt;td&gt;
              &lt;%= Html.Encode(item.Description) %&gt;
          &lt;/td&gt;
          &lt;td&gt;
              &lt;%= Html.Encode(String.Format("${0:F}", item.Cost)) %&gt;
          &lt;/td&gt;
          &lt;td&gt;
              &lt;%= Html.TextBox(String.Format("quantity{0}", item.Id), "0") %&gt;
          &lt;/td&gt;
          &lt;td&gt;
              &lt;%= Html.ActionLink("Add", "Add", new { id = item.Id, quantity="I want the quantity here?" })%&gt;
          &lt;/td&gt;
      &lt;/tr&gt;
  </code></pre>