hey everone following is my code i want to add serial no ? how can i do this?
- @foreach (var item in Model)
- {
- string EventDate = item.EventDate.ToString("dd-MMM-yyyy");
-
- //Here i want Serial No
- @Html.DisplayFor(modelItem => item.Event_name)
- @EventDate
- @Html.DisplayFor(modelItem => item.BS_EventType.EventType_dsc)
thanks in advance1 Reply
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Mohsin ArifPosted Jun 7, 2019, 10:28 AM