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.
Related Contents:
- Which method performs better: .Any() vs .Count() > 0?
- How do I run Visual Studio as an administrator by default?
- What is the difference between IQueryable and IEnumerable?
- How to do SQL Like % in Linq?
- LINQ Single vs First
- How change List data to IQueryable data [duplicate]
- Getting the PublicKeyToken of .Net assemblies [duplicate]
- EF LINQ include multiple and nested entities
- FirstOrDefault: Default value other than null
- What is Microsoft.csharp.dll in .NET 4.0
- Change C++/CLI project to another framework than 4.0 with vs2010
- Linq: What is the difference between Select and Where
- LINQ to SQL Left Outer Join
- Entity Framework 4 Single() vs First() vs FirstOrDefault()
- Linq to Objects: does GroupBy preserve order of elements?
- LINQ to Entities does not recognize the method
- Wrap a delegate in an IEqualityComparer
- How do you enable “Enable .NET Framework source stepping”?
- LINQ where vs takewhile
- Team city unmet requirement: MSBuildTools12.0_x86_Path exists
- .NET List Concat vs AddRange
- Why is LINQ JOIN so much faster than linking with WHERE?
- Can Visual Studio 2012 be installed side-by-side w/ Visual Studio 2010?
- What can I do to resolve a “Row not found or changed” Exception in LINQ to SQL on a SQL Server Compact Edition Database?
- “Or” equivalent in Linq Where() lambda expression
- Proper way to put comments in build events command line?
- Ignore namespaces in LINQ to XML
- The model backing the ‘ApplicationDbContext’ context has changed since the database was created
- Why are some object properties UnaryExpression and others MemberExpression?
- Cannot install Windows SDK 7.1 on Windows 10
- How do I use a dump file to diagnose a memory leak?
- How to make IEnumerable.Contains case-insensitive?
- Step Into Property/Function (F11) doesn’t work as expected
- What is the URL for NuGet Gallery to access (nuget.org) from VS2010?
- Make NameValueCollection accessible to LINQ Query
- Attempted to access an unloaded appdomain when using System.DirectoryServices
- How to find out if a column exists in a DataRow?
- NuGet add reference error while installing packages
- ‘Step Into’ is suddenly not working in Visual Studio
- Problem with LINQ to Entities and String.StartsWith
- IEnumerable is empty?
- Visual Studio “Find in Files” does not work
- Basic LINQ expression for an ItemCollection
- Best ways to format LINQ queries
- Where is System.ServiceModel.Web.dll?
- Why is my configuration manager disabled in Visual Studio 2010?
- Where does NuGet put the DLL file?
- OrderBy ThenBy in F#
- Using LINQ for an object that only has GetEnumerator()
- Syntax Highlighting for .tt files?