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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.