Thursday, July 17, 2008

DotNetBips.com :: Blossom your .NET skills

DotNetBips.com :: Blossom your .NET skills: "Using LINQ in ASP.NET (Part 1)"
Language INtegrated Query or LINQ changes the way you write your data driven applications. Previously developers used to think and code differently to access different data stores such as SQL server, XML files and in-memory collections. The new LINQ based programming can take away the hassles involved while developing such applications. In this multi part series I am going to explain how LINQ capabilities can be used ASP.NET applications.
Example
The LINQ way of development is best learnt with example. We will develop a simple data entry web form that performs INSERT, UPDATE, DELETE and SELECT operations on the Employees table of the Northwind database. All the operations happen via LINQ to SQL queries. Our development involves the following steps:
Create an entity class for Employees table
Create a strongly typed data context to expose the underlying tables
Develop a web form that makes use of LINQ to SQL capabilities to perform the required operations
http://www.dotnetbips.com/articles/56f8f29d-2617-4f99-a8b4-977703ebf780.aspx

No comments: