3
Reply

How to show last item of dropdown list in first postion

Dr.Ajay Kashyap

Dr.Ajay Kashyap

Jul 24 2017 6:26 AM
173
 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>(), "City_Id", "City_Name", null);
 

Answers (3)