Browse by Tags

LINQ Cookbook, Recipe 12: Calculate the Standard Deviation (Doug Rothaus)
18 December 07 03:09 PM
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 Read More...
Postedby VBTeam | 5 Comments    
LINQ Cookbook, Recipe 11: Desktop Search Statistics (Doug Rothaus)
13 December 07 03:53 PM
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 Read More...
Postedby VBTeam | 3 Comments    
Visual Basic 2008 Ships!!! (Amanda Silver)
19 November 07 09:27 AM
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 Read More...
LINQ Cookbook, Recipe 10: Pre-compiling Queries for Performance (Doug Rothaus)
06 November 07 03:55 PM
Ingredients: · Visual Studio 2008 (Beta2 or Higher) Categories: LINQ to SQL Introduction: As we add cookbook entries, we will include performance improvement tips where appropriate. Here’s a tip that you can use with LINQ to SQL to speed up queries that Read More...
Postedby VBTeam | 3 Comments    
LINQ Cookbook, Recipe 9: Dynamic Sort Order (Doug Rothaus)
17 October 07 10:20 AM
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 Read More...
Postedby VBTeam | 6 Comments    
LINQ Cookbook, Recipe 8: Querying XML Using LINQ (Doug Rothaus)
01 October 07 11:02 AM
Ingredients: · Visual Studio 2008 (Beta2 or Higher) Categories: LINQ-To-XML Instructions: · Create a new Console Application in Visual Basic. · Create an RSS document. Add the following code to Sub Main . Dim rss = <? xml version = " 1.0 " ?> < Read More...
Postedby VBTeam | 6 Comments    
LINQ Cookbook, Recipe 7: Selecting Pages of Data from Northwind (Jonathan Aneja)
12 July 07 10:58 AM
Ingredients: - Visual Studio 2008 (Beta2 or Higher) - Connection to Northwind database Categories: LINQ-To-Objects, LINQ-To-SQL Instructions: · Create a new Windows Forms project with a Northwind DataContext (for step-by-step instructions on how to do Read More...
Postedby VBTeam | 8 Comments    
Linq Cookbook, Recipe 6: Your first Linq Application using Northwind (Kit George)
11 July 07 07:48 PM
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 Read More...
Postedby VBTeam | 6 Comments    
LINQ Cookbook, Recipe 5: Concatenating the selected strings from a CheckedListBox (Kit George)
03 July 07 04:28 PM
Ingredients: - Visual Studio 2008 (Beta2 or Higher) Categories: LINQ-To-Objects, LINQ and WinForms Instructions: Open Visual Studio 2008, and Click ‘File/New Project’. Create a new Windows Forms Application project From the toolbox, drag a CheckedListBox Read More...
Postedby VBTeam | 7 Comments    
LINQ Cookbook, Recipe 3: Find all the prime numbers in a given range (Jonathan Aneja)
28 June 07 01:21 PM
Ingredients: - Visual Studio 2008 (Beta2 or Higher) Categories: LINQ-To-Objects Instructions: - Open Visual Studio 2008, and Click ‘File/New Project’. Find and double-click the ‘Console Application’ Icon - Add the following code: Module Module1 Sub Main() Read More...
Postedby VBTeam | 6 Comments    
LINQ Cookbook, Recipe 4: Find all complex types in a given assembly (Kit George)
27 June 07 06:30 PM
Ingredients: - Visual Studio 2008 (Beta2 or Higher) - An assembly which you want to analyze (in this example, we use mscorlib.dll, the assembly which houses String) - A definition for 'Complex Type'. In this instance, a complex type is defined as having Read More...
LINQ Cookbook, Recipe 2: Find all capitalized words in a phrase and sort by length (then alphabetically) (Kit George)
22 June 07 04:59 PM
Ingredients: - Visual Studio 2008 (Beta2 or Higher) - Some text you want to search Categories: LINQ-To-Objects, LINQ and strings, LINQ and WinForms Instructions: - Open Visual Studio 2008, and Click ‘File/New Project’. Find and double-click the ‘Windows Read More...
Postedby VBTeam | 7 Comments    
LINQ Cookbook, Recipe 1: Change the font for all labels on a windows form (Kit George)
22 June 07 04:24 PM
Folks, we’re gonna start a ‘cookbook’ of LINQ entries, which we’ll be building over time. This is just meant to be a series of solutions to specific scenarios, that the team comes across when writing code and using queries. I can't think of a better way Read More...
Postedby VBTeam | 5 Comments    

This Blog

Syndication

Page view tracker