Dr.Ajay Kashyap

Dr.Ajay Kashyap

  • NA
  • 521
  • 277.5k

How to show last item of dropdown list in first postion

Jul 24 2017 6:26 AM
 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)