How to bind WPF Datagrid to a joined table
问题 I have a big problem. I try to bind my WPF DataGrid to a table, created with inner join. I have created a class for the info to convert successfully: public class NeshtoSi { public NeshtoSi() { } public string ssn; public string name; public string surname; } And then I create the inner-joined tables. Still when I assign the ItemsSource and all values are transferred properly, but the DataGrid does not visualize them. var dd = from d in dataContext.Medical_Examinations join p in dataContext