I work on razor asp.net i face issue i can't update all values checked on table example
so suppose i checked 5 rows witth id 45,67,57,80
so i need to get these id then update it on table from table html
table html details
EntredDatetime
OrderType
OrderNo
PrinterName
BranchCode
Status
Id
@foreach (var reprint in Model.Reprintslist)
{
@reprint.LoggedDate
@reprint.OrderType
@reprint.OrderNo
@reprint.PrinterName
@reprint.BranchCode
@reprint.Status
@reprint.id
}
what i try
$('#reprintdatabtn').click(function () {
var dataArr = [];
$('input:checked').each(function () {
dataArr.push($(this).attr('id')); // insert rowid's to array
});
console.log(dataArr);
image for what i need as below

Amit MohantyPosted Jun 21, 2023, 5:38 AM
ahmed salahPosted Jun 20, 2023, 4:23 PM
can you please tell me how to make update with on post razor page model please to make update
Amit MohantyPosted Jun 20, 2023, 12:36 PM
Try this: