how to use dropdown in asp.net mvc 4. i get this error after click on save button.
There is no ViewData item of type 'IEnumerable' that has the key 'CountryID'
my code is this .
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Vaibhav DeshmukhRank #5,346 · 302 reputationPosted Oct 13, 2016, 3:55 AM EDT
Rajeev PunhaniRank #551 · 4.4K reputationPosted Oct 13, 2016, 6:54 AM EDT
If the above solution is helpful then,accept the answer.
Salman BegRank #284 · 8.8K reputationPosted Oct 14, 2016, 1:32 AM EDT