Hrvoje

Hrvoje

  • NA
  • 47
  • 0

dropdownlist

Sep 14 2009 4:04 AM

I'm using this code to sort values in dropdownlist :
DropDownList1.DataSource = DropDownList1.Items.Cast<
ListItem>()
.OrderBy(o => o.Value).ToList();
ddlApoeni.DataBind();
the problem is that result is descending order, but i want ascending ?

Answers (1)