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
Sunil Sudhansu
1.4k
307
32.7k
var query = from p in db.country_master select new{Cid = p.
May 29 2017 11:00 PM
Dear Sir ,
var query = from p in db.country_master select new{Cid = p.ID,cname = p.Country,ccode=p.Country_code,active = p.Active== true ? "D-Activate" :"Activate"};
\
@foreach (var item in Model)
{
<tr>
<td>@(Model.IndexOf(item) + 1)</td>
<td>@item</td>
<td>@item.Country_code</td>
<td><a href="#" class="btn btn-success btn-xs">@item.Active</a></td>
</tr>
}
we use alias then how to call cshtml page for bind table.
Reply
Answers (
1
)
Convert sqlquery to RowFilter DataTable Query
Reports in VS2015