I am brand new to LINQ
and am trying to query my DataSet
with it. So I followed this example to the letter, and it does not work.
I know t
While the class holding the extensions is in the System.Data
namespace, it's located in an assembly that isn't added to your project by default. Add a reference to System.Data.DataSetExtensions
to your project and it should be ok. Remember that, even after you've added the reference, any class that expects to use the extension methods defined in the class will need to have a using statement for System.Data as well.
you need a reference to System.Data.DataSetExtensions
I think you might need to add System.Data.DataSetExtensions
Reference to your project before the AsEnumerable
will work.