LINQ in Visual Basic

This section contains overviews, examples, and background information that will help you understand and use Visual Basic and Language-Integrated Query (LINQ).

Introduction to LINQ in Visual Basic

Provides an introduction to LINQ providers, operators, query structure, and language features.

How to: Query a Database by Using LINQ (Visual Basic)

Provides an example of how to connect to a SQL Server database and execute a query by using LINQ.

How to: Call a Stored Procedure by Using LINQ (Visual Basic)

Provides an example of how to connect to a SQL Server database and call a stored procedure by using LINQ.

How to: Modify Data in a Database by Using LINQ (Visual Basic)

Provides an example of how to connect to a SQL Server database and retrieve and modify data by using LINQ.

How to: Combine Data with LINQ by Using Joins (Visual Basic)

Provides examples of how to join data in a manner similar to database joins by using LINQ.

How to: Sort Query Results by Using LINQ (Visual Basic)

Provides an example of how to order the results of a query by using LINQ.

How to: Filter Query Results by Using LINQ (Visual Basic)

Provides an example of how to include search criteria in a query by using LINQ.

How to: Count, Sum, or Average Data by Using LINQ (Visual Basic)

Provides examples of how to include aggregate functions to Count, Sum, or Average data returned from a query by using LINQ.

How to: Find the Minimum or Maximum Value in a Query Result by Using LINQ (Visual Basic)

Provides examples of how to include aggregate functions to determine the minimum and maximum values of data returned from a query by using LINQ.

How to: Return a LINQ Query Result as a Specific Type (Visual Basic)

Provides an example of how to return the results of a LINQ query as a specific type instead of as an anonymous type.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft