Murach's ASP.NET 3.5 with VB 2008
How to use the ListView and DataPager controls

LINQ is a new feature of .NET 3.5 that allows you to query data using constructs that are built into Visual Basic. The VB code determines the source of the data: a list, a database, an XML file, and so on. Although LINQ is a subject that requires a book in itself, this chapter shows you the basics of using LINQ data sources to work with SQL Server databases.

Chapter 18 How to use LINQ data sources
An introduction to LINQ 590
How LINQ works 590
How to use LINQ with SQL Server databases 592
How to use the Object Relational Designer 594
How to create an object model 594
How to create entity classes 596
How to use the LinqDataSource control 598
An introduction to the LinqDataSource control 598
How to configure a LinqDataSource control 600
A Product List application 602
The aspx file for the Product List application 604
How to update data 606
How to configure a LINQ data source for updates 606
How to use optimistic concurrency 606
How to group data 608
How to configure groups 608
An Invoices By Date application that uses groups 610
The aspx file for the Invoices By Date application 610




Murach's ASP.NET 3.5 with VB 2008

Learn more about this book

View the table of contents

Add this book to your cart



Our Ironclad Guarantee

First, try our books for 90 days. Then, if you aren't completely convinced that our books are the best ones you've ever used, you can return them for a full refund...no questions asked.