Create DropDownListFor in MVC and bind data from Database

Jun 11 2014 4:48 PM
hi,
 
I am developing a MVC application, in one of The View I need to have a dropdownlist, where user can select account_code and the selected value need to be posted back to controller so that further processing of data takes place.
I need to populate this drop down from a table viz "Account_Master" in my database.
I tried many tutorials from net but nothing fit in my scenario.
Could you plz guide me step by step.
Thanks in advance. 

Answers (2)