Something like this
string ColumnName = "DynamicColumnName"
var x = from c in db.costumers
select new {c.ColumnName}
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Iftikar HussainPosted Aug 23, 2013, 12:57 PM
Please refer the below link
http://weblogs.asp.net/scottgu/archive/2008/01/07/dynamic-linq-part-1-using-the-linq-dynamic-query-library.aspx
Regards,
Iftikar