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
Maurice Aboagye
1.1k
655
792
Implement DropdownlistFor Using Code First . MVC
Oct 25 2018 7:06 AM
Hello Experts,
I need assistance to use Entity Framework Code First to do the following:
I have two tables in SQL Server 2017.
Table One Name is:
"Students"
Table One Columns are:
"StudentId",
"Student_Name" and
"Class"
Table Two Name is:
"Classes"
*** In the view I expect the <Classes> to be a dropdownlistfor so that I when Input <StudentID>, <Student_Name>, the <Classes> will be a dropdownlistfor which contains classes like (P1, P2, P3).
The listing for <Classes> must be retrieved from the SQL Server table please.
Your assistance will be very much welcomed. I need a step-by-step walkthough please.
Reply
Answers (
2
)
how can convert this code into linq format
Stored Procedure will not execute on second button click