Referenced Namespaces
To use the LINQ to DataSet operators, add a using directive to the top of your code for the System.Linq, and System.Data namespaces if they are not already there:
using System.Data; using System.Linq;
This will allow your code to find the LINQ to DataSet operators.
Get Pro LINQ: Language Integrated Query in C# 2008 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.