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
Kunal Gupta
NA
149
6.7k
how to get drop down list in MVC 4
Jul 11 2016 12:52 AM
Two tables are there
1. Status_Master
2. Role Master
a. Status_Id(Identity,Primary key) a. Role_Id(Identity,Primary key)
b. Status_Desc.
b. Role_Desc
c. Remarks
c. Status (wants for Dropdown list)
Here Model is [Status_Master_Model] Here Model is [Role_Master_Model]
Question is in [Role_Master_Model] view i have to us Dropdown for column c i.e (Status) an d bind the value from [Status_Master_Model] for column b i.e (Status_Desc.)
Help me with codes....as i am doing in [Role_Master_Model]..[<td >@Html.TextBoxFor(m => m.
Status
)</td>]..as stated in red one..errror is coming as [Role_Master_Model] does not contain its defination
Reply
Answers (
16
)
how to different error message based on search textbox
Backup Database file