TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
vamssams
NA
1
0
String Append in LINQ
Feb 23 2010 3:11 PM
hi,
Could any one please suggest a solution for the below scenario in LINQ.
string str = ",employeeName"; // suppose that employee name is a column in employee table.
var q = from e in employee
select new { e.EmployeeID, str};
in that str place I need to get my column name, in other words I need to select columns based on the value in str.
Thanks in advance !!
Reply
Answers (
1
)
What is the best way to recover from missing nodes?
Why select clause comes after from cluse?