Introduction
This article shows how to select data using LINQ to SQL in WPF applications.
Create a WPF application as in Figure 1.
Figure 1: Create WPF application
Add LINQ to SQL classes to the project as in Figures 2 and 3.
MainWindow.xaml
MainWindow.xaml.cs
The output of the application is as in Figure 4.
Summary
In this article we saw how to select data using LINQ to SQL in WPF applications.