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 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Mohsin ArifRank #732 · 3.2K reputationPosted Jun 7, 2019, 6:28 AM EDT
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts