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
vidhya
NA
324
88.3k
convert table into webgrid
Jul 15 2013 2:03 AM
how do i convert this table into webgrid
<table>
<thead>
<tr>
<th>Students</th>
<th>Total points</th>
@foreach (GradeBook.StudentGradeBook x in Model.Student)
{
<th>@x.AssignmentName</th>
ptsawd = (int)@x.PointsAwarded.GetValueOrDefault();
ptspbl = (int)@x.PointsPossible;
totptsawd = totptsawd + ptsawd;
totptspbl = totptspbl + ptspbl;
}
</tr>
</thead>
<tbody>
<tr>
@foreach (GradeBook.StudentGradeBook x in Model.Student)
{
<td><a href="javascript:DisplayModalPopup();">@x.FirstName @x.LastName</a></td>
break;
}
<td>@totptsawd/@totptspbl</td>
@foreach (GradeBook.StudentGradeBook x in Model.Student)
{
<td>@x.PointsAwarded /@x.PointsPossible </td>
}
</tr>
</tbody>
</table>
Reply
Answers (
27
)
on clicking print button in report ,report get cleared.!how?
export xls file to app_code folder class