This page provides links to Help on widely used Visual Basic data tasks. To view other categories of popular tasks covered in Help, see How Do I in Visual Basic Express.
Note: |
|---|
If you are using Visual Basic Express, some of the Help links on this page may be unavailable, depending on the options that you chose during installation. For more information, see Troubleshooting Visual Basic Express. |

In Visual Basic Express

MSDN Library for Microsoft Visual Studio 2008 Express Editions

In General

Displaying Data on Windows Forms

Connecting Applications to Data

Modifying Data

Updating and Saving Data

Working with TableAdapters

Loading Data

Validating Data

Working with Datasets

Managing Multiple Users and Conflicts

Language-Integrated Query (LINQ)

Using LINQ to Objects

Using LINQ to SQL
- Getting Started (LINQ to SQL)
Provides an introduction and guide for using LINQ to SQL.
- What You Can Do With LINQ to SQL
Demonstrates key database operations in LINQ to SQL: selecting, inserting, updating, and deleting.
- 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: Sort a Collection 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.
- The LINQ to SQL Object Model
Shows how an object model is mapped to the data model of a relational database.
- Typical Steps for Using LINQ to SQL
Lists the steps to follow in order to implement a LINQ to SQL application, with links to supporting information at each step.
- Walkthrough: Simple Object Model and Query (Visual Basic) (LINQ to SQL)
Shows how to create an entity class that models a table in a database, and how to create a simple query.
- Walkthrough: Querying Across Relationships (Visual Basic) (LINQ to SQL)
Shows how to query across tables that have been mapped into a hierarchical object relationship.
- Walkthrough: Manipulating Data (Visual Basic) (LINQ to SQL)
Shows how to add, update, delete and modify data in a database.
- Walkthrough: Using Only Stored Procedures (Visual Basic) (LINQ to SQL)
Shows how to use stored procedures in LINQ to SQL.
- How to: Display Generated SQL (LINQ to SQL)
Shows how to display and view the SQL that is generated and issued to the database by the LINQ to SQL runtime.
- How to: Directly Execute SQL Queries (LINQ to SQL)
Shows how to issue raw SQL commands in place of a LINQ query.
- O/R Designer Overview
Provides an introduction to using the visual design tool for creating LINQ to SQL entity classes and associations that are based on objects in a database.
- How to: Add LINQ to SQL Classes to a Project (O/R Designer)
Shows how to use the Add New Item dialog box to add LINQ to SQL files to projects.
- How to: Create DataContext Methods Mapped to Stored Procedures and Functions (O/R Designer)
Shows how to add stored procedures to the O/R Designer as DataContext methods.
- Walkthrough: Creating LINQ to SQL Classes (O/R Designer)
Shows how to create entity classes that are based on objects in a database, and how to display the data on a Windows Form.

Using LINQ to XML

Using LINQ to DataSet

Working with Microsoft SQL Server Compact 3.5

Working with Microsoft SQL Server 2005

Object Relational Designer (O/R Designer)

Other Resources
The following Web sites are excellent resources to find more information, see what other Express users are doing, and remain a part of the Visual Basic Express community as it grows.
- Visual Basic Developer Center
Central location for information about Visual Basic. Includes case studies, new tools, and other downloads.
- Beginner Developer Learning Center
Central location for learning materials for the beginner developer. Includes video tutorials, articles, the How-To Reference Library, and Kid's Corner.
- Coding4Fun
Includes lots of articles and coding tips for the Visual Basic Express developer.
- Visual Basic 6.0 Resource Center
Provides help for developers who want to upgrade Visual Basic 6.0 applications.

See Also