Click here to Skip to main content
15,348,004 members

Comments by Avinash yadav 2022 (Top 1 by date)

Avinash yadav 2022 20-Jan-22 13:54pm View
   
Deleted
Can anyone guide me with creating a view for the same.

This is what I have tried.

@model IEnumerable<crud__mvc.models.customer>





@foreach (var item in Model) {


}

@Html.DisplayNameFor(model => model.FirstName)
@Html.DisplayNameFor(model => model.LastName)
@Html.DisplayFor(modelItem => item.FirstName)
@Html.DisplayFor(modelItem => item.LastName)