Using LINQ Visual Basic Query Clauses with ASP.NET 3.5

By Ken Cox

Part of ASP.NET 3.5 For Dummies Cheat Sheet

ASP.NET 3.5, with its access to LINQ query clauses, is a valuable tool in creating a dynamic Web site, whether you’re designing a site for your ultimate Frisbee team or to offer online shopping to your customers. The following table describes LINQ clauses in Visual Basic and offers examples for each. Don’t look here for the Aggregate clause — it merits its own table.

Note: Precede each example with Dim cl = [Enum].GetNames(GetType(System.ConsoleKey)) : Array.Sort(cl).