1
Answer

String Append in LINQ

vamssams

vamssams

15y
5.8k
1

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 !!
Answers (1)
1
Nilesh Patil

Nilesh Patil

NA 3.4k 6.9k 7y
Hi,
 
Read this documentation 
 
https://cdn.sparkfun.com/assets/resources/4/4/PWM_output_Arduino.pdf 
Accepted
0
Munish A

Munish A

NA 1.9k 42.1k 7y
Thank you Nilesh