O'Reilly logo

Pro LINQ: Language Integrated Query in C# 2008 by Joseph C. Rattz Jr.

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Additional DataSet Capabilities

In the previous chapter, I provided numerous examples querying DataTable objects that would naturally come from typical DataSets in a real-world development environment. For the sake of simplicity though, I programmatically created the DataTable objects using a static array declaration. However, there is more to DataSet queries than just creating DataTable objects from statically declared arrays.

Also, the examples in the previous chapter were all performed on untyped DataSets. Sometimes, you may find you have a need to query a typed DataSet. LINQ to DataSet can do that too.

In this chapter, I address these issues and show you how to make the most of LINQ to DataSet. I begin with a discussion of querying typed ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required