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
Anjali Khan
NA
867
224.6k
how to show summary in mvc with views
Mar 30 2017 6:46 AM
hi frnds
I have a log table
i have a summary views where i am doing some functionality like
1. if i gave comment it is saving in the log table
2. if i change city also saved in log table
3 if i change status also save in log table
means 3 functionality saving on master table like log table
and this log table i have fielsd like ID , DESCRIPTION , DATE , LOGIN BY
AND THESE DETAILS I WANTS TO SHOW IN SUMMARY DESCRION VIEW HOW TO DO THAT
--------------------------------------------------------------------------------------------------
user_ID Description By Date
--------------------------------------------------------------------------------------------------
1 inserted comment successfully Ritesh 25-03-2017
2 change status succefully abs 25-03-2017
3 changed data def 25-03-2017
-----------------------------------------------------------------------------------------------------
here i want show these data as summary and i am sharing to my views so how to do
@model Managenemt.ViewModel.DataViewModel
@{
Layout = "~/Views/Shared/_LayoutDashboard.cshtml";
}
<div class="table-responsive">
<table class="mytable table-striped">
<thead>
<tr>
<td>
<i class="glyphicon glyphicon-edit"></i>@Html.ActionLink("city", "city", new { id = Model.user_ID })
</td>
<td>
<i class="glyphicon glyphicon-edit"></i>@Html.ActionLink("Attach", "FileUpload", new { id = Model.user_ID })
</td>
<td>
<i class="glyphicon glyphicon-edit"></i>@Html.ActionLink("Status", "Status", new { id = Model.user_ID })
</td>
</tr>
</thead>
</table>
<br />
<br />
<table class="mytable table-striped">
<thead>
<tr>
<th class="control-label">
@Html.DisplayName(" Description")
</th>
<th class="control-label">
@Html.DisplayName(" By")
</th>
<th class="control-label">
@Html.DisplayName(" Date")
</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
@Html.ActionLink("Back", "Index", null, new { @class = "btn btn-filter" })
Reply
Answers (
1
)
Set browser to full screen
Countdown timer in asp.net