Using LINQ Visual Basic Aggregate Functions with ASP.NET 3.5

By

Part of the ASP.NET 3.5 For Dummies Cheat Sheet

ASP.NET 3.5 in tandem with LINQ makes writing queries for your Web site a snap — or at least pretty easy. One of the most-used queries is Aggregate, which helps you find any or all of the queried terms, and can do counting and averaging for you. The following table shows the Aggregate function, describes what it does, and gives an example for each. Note that you need to precede each example with Dim dw = [Enum].GetNames (GetType(System.DayOfWeek)).

image0.jpg
  • Add a Comment
  • Print
  • Share
blog comments powered by Disqus

SERIES
ASP.NET 3.5 For Dummies Cheat Sheet

Advertisement

Inside Dummies.com