SyntaxFix
Write A Post
Hire A Developer
Questions
The problem is because of post back happens on submit button click. So while posting data on submit click again write before returning View()
ViewData["Submarkets"] = new SelectList(submarketRep.AllOrdered(), "id", "name");