While binding dropdown in MVC, I always get this error: There is no ViewData item of type \'IEnumerable\' that has the key country.
There is no ViewData item of type \'IEnumerable\' that has the key country
I had a the same problem and I found the solution that I should put the code to retrieve the drop down list from database in the Edit Method. It worked for me. Solution for the similar problem