Chapter 19. LINQ Data Binding

Your code can consume Microsoft Language Integrated Query (LINQ) queries in several ways. When writing the user interface (UI) code layer, you might want to use a LINQ query to bind data to a UI element. This process is called data binding. In this chapter, you will see how to use a LINQ query for data binding. One huge advantage of data binding with LINQ is that the queries are independent of which LINQ provider processes them.

The chapter is divided into sections that describe the following UI frameworks:

  • Microsoft ASP.NET

  • Windows Presentation Foundation (WPF) and Microsoft Silverlight

  • Windows Forms

Because most of the sections are independent of each other, you can read just those that apply to you. However, if you ...

Get Programming Microsoft® LINQ in Microsoft .NET Framework 4 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.