4
Answers

How to use variable inside Select() in linq

Photo of Ajeet Singh

Ajeet Singh

6y
6.7k
1
Finding the person whose SSN = 203456876 in the list"
 
foreach (DataRow o in dt.Select("SSN = '203456876'"))
{
}
string str = "asfdsfds";
 
How to use str instead ''203456876'?

Answers (4)