Craig100
08/19/2024, 12:11 PMD_Inventor
08/20/2024, 9:06 AMfor
loop instead of a foreach
? I think if you access your property by index, then your fields also get the index in their name when you use the tag helpershuwred
08/20/2024, 9:15 AMhuwred
08/20/2024, 9:31 AMCraig100
08/20/2024, 11:57 AMpublic IActionResult Edit(Microsoft.AspNetCore.Http.IFormCollection tableData) {...... lots of manipulation into a Model.......then spin through the List<row> and saving each one.}
huwred
08/20/2024, 12:06 PM<input asp-for="@Model.Categories[ii].Name" />