954,593 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

sort alphanumeric values using linq

Hi,

Does anyone know how to sort using linq-entity.


i use the following code:
from i in objEntities.Items
where ....
orderby i.Name
select i

The result is item1,item2,item21, item22, item3. But, i want it to be like item1, item2, item3, item21, item22

Thanks

dhanlak
Newbie Poster
4 posts since Dec 2011
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: