Quantcast
Channel: Web Forms
Viewing all articles
Browse latest Browse all 23244

Linq with Dynamic OrderBy!!!

$
0
0

hi

plz help me to make dynamic linq command with dynamic orderBy.

this is my code:

query = query.OrderBy(c => c.Id);

But i want to get clumn name dynamically and sort my data by Name,Id,Subject,Date and other Columns.

Thanks...


Viewing all articles
Browse latest Browse all 23244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>