Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
1
Answer
Select dynamic columns with Linq c#
Marco
11y
11.8k
1
Reply
Is it possible to select dynamic column name with linq.
Something like this
string ColumnName = "DynamicColumnName"
var x = from c in db.costumers
select new {c.ColumnName}
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
Query not returning results
Convert Sql query to Linq