How to show last item of dropdown list in first postion and remaning are same...in MVC using viewbag.
ViewBag.City_Id = new SelectList(this.db.Cities.AsEnumerable(), "City_Id", "City_Name", null);
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 attend4days leftRegister
Rajkiran SwainRank #165 · 14.4K reputationPosted Jul 24, 2017, 2:46 AM EDT
Dr.Ajay KashyapRank #2,900 · 496 reputationPosted Jul 24, 2017, 3:03 AM EDT
Rajkiran Swain sir this is not a answer.....
Rajkiran SwainRank #165 · 14.4K reputationPosted Jul 24, 2017, 3:11 AM EDT