Video How to: Writing Queries in Visual Basic
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
|
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
Video How to: Declare an Object by Using an Object Initializer
Video How to: Simple Object Model and Query (Visual Basic) (LINQ to SQL)
Video How to: Writing Queries in C# (LINQ)