Drop Down List in MVC
- by Zerotoinfinite
I want to do the following:
1: Add two dropdown list in the register.aspx [Say ddlRole,ddlGender]
2: Fill the dropdown list [ ddlRole should be filled from the database, and ddlRole should have two static field]
3: On submit I want to get the selected value of the two dropdown list.
Please help.
Thanks in advance.