title: MVC Web Grid submit
body: <p>I am trying to use a WebGrid to display some data, this is fine but I also want to add a column with a submit button that passes back an id from the model. here is my grid code</p>
  
  <pre><code>   @{var grid = new WebGrid(source: Model);}
     &lt;div&gt;
          &lt;h2&gt;Multi User Login&lt;/h2&gt;
  
          @using (Html.BeginForm())
          {
              @grid.GetHtml(columns: grid.Columns(
              grid.Column("CompanyName"),
              grid.Column("Address"),
              grid.Column(format: @&lt;input type="submit" name="@item.idAddress" value = "select" /&gt;)))
  
  
          }
  
  &lt;/div&gt;
  </code></pre>
  
  <p>I have tried a number of ways to return the idAddress to the controller post method without any luck. How can I do this?</p>