Sort a DropDownList that is based on a controller

I have a controller named Years. The years are entered into the table in ascending order from 1900 to 2012. When I use the grid1 view and controller for a dropdownlist, I can't get the list to sort in descending order (showing 2012 as the first item in the dropdown). I have tried changing the command1 statement for the Years controller and added an 'Order By', but nothing seems to work. How do I sort the items in the dropdown list when it is based on a controller?
1 person has
this question
+1
Reply