Thanks for the response, It didnt work I hard to change @model <Testing.Models.ModelSearch1 to @model Ienumerable<Testing.Models.ModelSearch> but the issue i am having is ... The data will have to be posted back to the controller and i am not able to get asp-for ='item.Id. or is there any way i can embed <input type="hidden" asp-for="modelSearch[item].Id" value="@Model.ModelSearch[item].Id"/> into the views table? Thanks for your precious time