Video How to: Writing Queries in Visual Basic

Write queries Video How To

Authors: Kathleen McGrath, Harry Miller, Sahnny Johnson, Mick Alberts, Microsoft Corporation

Applies to: Microsoft Visual Basic 2008

Length: 00:04:45 | Size: 21.5 MB | Type: WMV file


Watch the video

Download the video and transcript

Read the step-by-step article

Video Summary

LINQ makes a query a first-class language construct in Visual Basic. You can write queries against strongly typed collections of objects by using language keywords and familiar operators. You do not have to learn a different query language for each type of data source: SQL databases, XML documents, various Web services, and so on.

This video shows you the Visual Basic 2008 language features that enable you to write LINQ query expressions. The following tasks are included in the process:

  • How to create an in-memory data source.

  • How to create the query.

  • How to execute the query.

  • How to modify the query.

The Visual Basic Help includes the code and the steps that are demonstrated in this video. See Walkthrough: Writing Queries in Visual Basic.

Additional Video Resources

Video How Tos

MS Help WorkshopTOC Folder icon Visual Basic Videos

link to videoVideo How to: Declare an Object by Using an Object Initializer

link to videoVideo How to: Simple Object Model and Query (Visual Basic) (LINQ to SQL)

link to videoVideo How to: Writing Queries in C# (LINQ)

Other Videos

Additional Help Resources