I have a page that will have some textboxes that will save to a table called Values, let’s say. The textboxes that I display will populate the selection from a dropdownlist. This dropdownlist will get its values from another table in the database called DropDownListValues. I am assuming that my controller would be built on the Values model but I guess I am a little bit confused as to how I will give the values to the dropdownlist. Do I store it in a ViewBag or render a partial view? Just trying to find the best approach here as I am a little new to asp.net mvc.
I have a page that will have some textboxes that will save to a
Share
Use a
ViewModel. This was in a comment but I cannot accept that as an answer so I decided to post an answer