Visual Basic Blog

A group blog from members of the VB team

LINQ Cookbook, Recipe 12: Calculate the Standard Deviation (Doug Rothaus)

Ingredients:·         Visual Studio 2008 (Beta2 or Higher) Categories: LINQ to Objects Introduction:LINQ Cookbook, Recipe 11 showed how you can use LINQ queries to perform calculations on sets of data using a set of standard aggregate functions such as Average, and Sum. In this recipe, ...

LINQ Cookbook, Recipe 11: Desktop Search Statistics (Doug Rothaus)

Ingredients:·        Visual Studio 2008 (Beta2 or Higher) Categories: LINQ to DataSet Introduction:You can use aggregate functions in LINQ queries to perform calculations on sets of data. Visual Basic includes a set of standard aggregate functions for LINQ queries: All, Any, Average, Count, ...

Visual Basic 2008 Ships!!! (Amanda Silver)

Hooray! Today we’ve finally shipped Visual Studio 2008, previously known as “Orcas”, previously known as some symbol which doesn’t have an ascii representation. We’ve come a long way, but it’s been a great ride. In his blog, Soma mentions many of the flagship features at a high-level that will undoubtedly ...

LINQ Cookbook, Recipe 9: Dynamic Sort Order (Doug Rothaus)

Ingredients:·         Visual Studio 2008 (Beta2 or Higher) Categories: LINQ-To-XML Introduction:You can use the Order By clause to easily sort the results of a LINQ query in Visual Basic. A common requirement for sorted data, however, is that the user be able to choose the fields that ...

Linq Cookbook, Recipe 6: Your first Linq Application using Northwind (Kit George)

This example is intended as a ‘primer’ for following recipes (so we don’t repeat the same instructions multiple times). This recipe takes you through everything you need, and assumes only that you've installed Visual Studio (and in so doing, you've installed SQLExpress). Subsequent Northwind based Linq-To-Sql recipes ...