LINQ to DataSet Examples
This section provides LINQ to DataSet programming examples that use the standard query operators. The DataSet used in these examples is populated by using the FillDataSet method, which is specified in Loading Data Into a DataSet. For more information, see Standard Query Operators Overview.
In This Section
Query Expression Examples (LINQ to DataSet)
Contains the following examples:Query Expression Syntax Examples: Projection (LINQ to DataSet)
Query Expression Syntax Examples: Restriction (LINQ to DataSet)
Query Expression Syntax Examples: Partitioning (LINQ to DataSet)
Query Expression Syntax Examples: Ordering (LINQ to DataSet)
Query Expression Syntax Examples: Element Operators (LINQ to DataSet)
Query Expression Syntax Examples: Aggregate Operators (LINQ to DataSet)
Query Expression Syntax Examples: Join Operators (LINQ to DataSet)
Method-Based Query Examples (LINQ to DataSet)
Contains the following examples:Method-Based Query Syntax Examples: Projection (LINQ to DataSet)
Method-Based Query Syntax Examples: Partitioning (LINQ to DataSet)
Method-Based Query Syntax Examples: Ordering (LINQ to DataSet)
Method-Based Query Syntax Examples: Set Operators (LINQ to DataSet)
Method-Based Query Syntax Examples: Conversion Operators (LINQ to DataSet)
Method-Based Query Syntax Examples: Element Operators (LINQ to DataSet)
Method-Based Query Syntax Examples: Aggregate Operators (LINQ to DataSet)
DataSet-Specific Operator Examples (LINQ to DataSet)
Contains examples that demonstrate how to use the CopyToDataTable method and the DataRowComparer class.