I want to set a variable with Linq, e.g.
Code: Select all
x = DataSource1.Any(p => p.Id == 14 && p.Pos == 12);
"Could not load file or assembly 'System.Linq' or one of its dependencies."
What can I do?
-Christoph
Code: Select all
x = DataSource1.Any(p => p.Id == 14 && p.Pos == 12);
Code: Select all
System.Xml.Linq.dll
Code: Select all
x = DataSource1.GetDataTable().Select("Pos = 12 AND Id = 14").Length > 0;