1
Answer

dropdownlist


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)