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 ...

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.