You can use expression trees in with Linq. See following link for the example.
http://www.codeproject.com/Articles/235860/Expression-Tree-Basics
質問
I have stored order values in database. Now I want to order table columns using their order values stored in database. How to assign order level value programmatically in asp.net dynamic data.
解決
You can use expression trees in with Linq. See following link for the example.
http://www.codeproject.com/Articles/235860/Expression-Tree-Basics