Links
Prezenty dla żeglarzy
kolczyki ręcznie robione
wynajem pokoi warszawa
warsaw hotels
Archive for the ‘databases’ Category
Linq Projection in C#
In this tutorial we will look at LINQ Projection, which is when we can select specific data from a source without retrieving all fields. We will be creating a class to define a list in which we will create a number of people with IDs, names and cities. Then we will use buttons to select only parts of this data.
First, we will start off by creating a new Windows Form application in VS.NET 2008. Next, we will create a class – call it aList – and define our list object:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace LINQProjection_cs
{
class aList
{
private int _personID;
private string _name;
private string _city;
Read the rest of this entry »
Linq Projection in Vb
This tutorial was created with Microsoft Visual Stuio.NET 2008. 2005 can be used, but you must install Microsoft’s LINQ Community Technology Preview release.
In this tutorial we will look at LINQ Projection, which is when we can select specific data from a source without retrieving all fields. We will be creating a class to define a list in which we will create a number of people with IDs, names and cities. Then we will use buttons to select only parts of this data.
First, we will start off by creating a new Windows Form application in VS.NET 2008. Next, we will create a class – call it aList – and define our list object:
Public Class aList
Private _personID Read the rest of this entry »