Click here to Skip to main content
14,825,178 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi All,

Bind Data to dropdownlist from database using MVC4 razor
Please answer me its urgent i'm not getting the suitable answers in any of the blogs.

Thanks,
Chethan
Posted

Nothing is urgent here. We help each other according to our availability. Next time please don't say that something is urgent.

Also before asking a question do proper search in google or Bing. You might find the answer as I did. I found the first link in google regarding your question.

MVC Populate Dropdown[^]
Well, urgency doesn't apply here.
Have some patience, people will help you when they can & they will. And always have a habit of googling.
Search the Google with this words: "mvc dropdown from database". You'll get, I don't know, so many suggestions and any of them would definitely help you.

Refer this article,
Dynamic DropDownList Binding in ASP.NET MVC With Database[^]

-KR
   
Comments
chethankumar.u 4-Nov-15 5:25am
   
thanks for your update. one more thing pls let me know he to store the selected dropdown value using stored procedures
Krunal Rohit 4-Nov-15 8:07am
   
Pass your dropdown value from view to controller using Form or Ajax, and then pass it as a parameter to the SP.

-KR

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900