TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Kiran Kumari
NA
142
13.1k
How Can i add row number automatically in MVC?
Jun 7 2019 10:27 AM
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"
);
<tr>
<td>
//Here i want Serial No
</td>
<td>
@Html.DisplayFor(modelItem => item.Event_name)
</td>
<td>
@EventDate
</td>
<td>
@Html.DisplayFor(modelItem => item.BS_EventType.EventType_dsc)
</td>
<td>
thanks in advance
Reply
Answers (
1
)
Best defend project? Is it Angular jS or Hibernate in java?
how to directly get pdf from reportviewer ?