I want to return a column values dynamically at runtime using Expression<> how can I achieve this? What will be a function to return look like? I found this- http://www.onedotnetway.com/dynamic-sort-with-linq-to-sql/
but GetTable() in visual studio 2010 has no such function...Please help me out..Also I get this exception when using function in the above link. No generic method 'OrderBy' on type 'System.Linq.Queryable' is compatible with the supplied type arguments and arguments. No type arguments should be provided if the method is non-generic.