I am new to MVC so probably confused . can somebody please explain me the dropdown in razor.my questions are-
- What is the difference in dropdownlist and dropdownlistfor
- how do i Pass ID column of my database table as value and NAME column as text.
- How do i add "other" to the dropdownlist.
- how do i access the selectedlistitem in code behind.
if possible please explain with an example.