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
sharad bhadalkar
NA
37
3.5k
Table Footer add total of column (Column name TL and NLA)
Nov 30 2019 6:07 AM
<tbody>
@{int srno2 = 0;}
@foreach (College.Core.ViewModels.SGPA.ExamsViewModel _Exams in _subject.GetExams())
{
srno2 += 1;
<tr>
<td>@srno2</td>
<td>@_Exams.ExamType</td>
<td>@_Exams.ObtainedMark</td>
<td>@_Exams.OutOfMarks</td>
@if(@_Exams.TotalLectureConducted == null)
{
<td>0</td>
}
else
{
<td>@_Exams.TotalLectureConducted</td>
}
@if(@_Exams.NoOfLectureAttended == null)
{
<td>0</td>
}
else
{
<td>@_Exams.NoOfLectureAttended</td>
}
@if(@_Exams.AverageAttendance == null)
{
<td>0%</td>
}
else
{
<td>@_Exams.AverageAttendance%</td>
}
</tr>
}
</tbody>
<tfoot>
<tr>
<td colspan="4" align="right">Total</td>
<td>SUM-TotalLectureConducted</td>
<td>SUM-NoOfLectureAttended</td>
<td>(SUM-TL/SUM-NLA)*100</td>
</tr>
</tfoot>
Reply
Answers (
2
)
How to get correct date range in Jquery using datepicker
JQuery Selectors in Java