Category Archive for: LINQ to XML

Using LINQ to SQL with LINQ to XML

When working with LINQ to SQL or LINQ to XML, you are limited to working with the specific data source for which it was designed. In fact, you are able to mix multiple data sources together when working with LINQ, For an example of this, this section uses LINQ to SQL to query the customers in the Northwind…

Read More →

Working Around the XML Document

If you have been working with the XMLdocument, hamlet, XML, you will notice that it is quite large, Querying into the XMLdocument was shown in a couple of ways throughout this chapter, but this next section takes a look at reading and writing to the XMLdocument. Reading From an XML Document Earlier you saw just how easy…

Read More →

Using LINQ to Query XML Documents

Now that you can get your XML documents into an XDocument object and work with the various parts of this document, you can also use LINQ to XML to query your XML documents and work with the results. Querying Static XML Documents You will notice that querying a static XML document using LINQ to XML takes almost…

Read More →

LINQ to XML and .NET 3.5

With the introduction of LINQ to the .NET Framework 3.5, the focus was on easy access to the data that you want to work with in your applications. One of the main data stores in the application space is XML and, therefore, it really was considered a no-brainer to create the LINQ to XML implementation, Prior to the…

Read More →


As probably the biggest and most exciting addition to the .NET Framework 3.5 is the addition of the .NET Language Integrated Query framework (LINQ) into C# 2008.LINQ  in many flavors depending on the final data store that you are working with in querying your data. Chapter 27 took a look at using LINQ to SQL to query SQLServer databases;…

Read More →

Back to Top