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
Prakash
NA
258
77.5k
Get id of selected dropdownlist text
Aug 30 2016 3:00 AM
Hello experts,
I want to display id of selected text from dropdownlist,
I have below dropdownlist.it shows Name of the dealer but when i select any value from dropdown i want save the id of that value in to database.how can i get the id of selected value.
Please help
ViewBag.dealerList = new SelectList(db.tbl_Dealer.ToList(), "Id", "Name");
Reply
Answers (
5
)
how i want to add property to my model as upload file in asp
ForgotPAssword api