Not sure if there's a way to do it with MVC, but what i normally do is use jquery to go through the items in the table, push it to a javascript array, and then pass the array as parameter when making request to an MVC controller.
For example:
// Javascript variable that will contain the values
var selectedPositionNumbers = new Array();
// In my case, i store the value of the row when user click a checkbox in the same row
$('body').on('click', 'input[id*="IsSelected"]', function () {
var positionNr = $(this).attr('id').split("IsSelected")[1];
var isChecked = $(this).is(':checked');
if (isChecked) {
if ($.inArray(positionNr, selectedPositionNumbers) == -1) {
selectedPositionNumbers.push(positionNr);
}
}
});
// And later on when making the request
$.ajax({
url: '@Url.Action("SendSelectedValues")',
data: JSON.stringify({ positionNrList: selectedPositionNumbers }),
type: 'post',
contentType: 'application/json; charset=utf-8',
success: function (data) {
// Completed statement here
}
});
In my case i only need to store one value so i just have to make a string array, but for your case, maybe this article gives a better example: http://abiyh.blogspot.nl/2011/01/posting-javascript-array-using-jquery.html