Order by descending in linq

Posted by Venkatesh under ASP.NET on 3/20/2012 | Points: 10 | Views : 1658 | Status : [Member] | Replies : 1
Hi,

I have an asp.net web site, in that i want to show the IDS like "GR00005" in a autocomplete extender text box.

These IDS should be populated by descending order. How to do this?

Thanks,
Venkatesh.P




Responses

Posted by: Rajni.Shekhar on: 3/21/2012 [Member] Bronze | Points: 25

Up
0
Down
You can use OrderByDescending() method of LINQ.

Thanks,
Rajni Shekhar

Venkatesh, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response