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
Ajay sutar
NA
1
876
Displaying multiple roles related to a single record
Jul 3 2014 2:20 AM
Dear Sir,
My name is Ajay Sutar. I am newly learning MVC 4, as we are about to initiate a new project in ASP .NET MVC 4. I am using a
details
scaffolding to display a single record. but now my single employee have multiple roles. As example,
Emp_no | Role | Salary
E1 | Software Engineer | 10000
E1 | Tester | 10000
as i have used Details scaffold and
FirstOrDefault
method of linq for this view, I am unable to display the second role "Tester" in the output. only first role is geeting displayed.
What i want is :
Emp_no : E1 Role: Software Engineer Salary:10000
Tester
Reply
Answers (
1
)
I want to write a javascript code instead of url string in X
Same site look different on 2 different IIS