Multiple button to 1 actionresult

give a name (for example submittedButton) to your submit button and set it's value to the row identification.
@using(Html.BeginForm())
{
    foreach(var row in myRows)
    {
        <input type="submit" name="submittedButton" value="@row.ID" />
    }
}
In your controller define a string argument which it's name is the same as submit button's name (in this example submittedButton) like this:
[HttpPost]
public ActionResult YourController(string submittedButton)
{
   // submittedButton contains ID of selected row
   return View();
}

Comments