Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
1
Answer
dropdownlist
Hrvoje
15y
3.6k
1
Reply
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 ?
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
exact width heigth string
Button focus