title: WPF Linq Binding join-qry to DataGrid
body: <p>I have the following query:</p>
  
  <pre><code>var qry = from itemA in db.TableA 
            join itemB in db.TableB on itemA.ID equals itemB.ID  
            join itemC in db.ItemC on itemA.ID equals itemC.ID  
            select new { itemC, itemA, itemB};
  </code></pre>
  
  <p>If I now bind the query to the Datagrid like this:</p>
  
  <pre><code>dgTest.ItemsSource = qry;
  </code></pre>
  
  <p>and configure the Datagrid's TextColumn like this:</p>
  
  <pre><code>&lt;DataGrid x:Name="dgTest" AutoGenerateColumns="False"&gt;
      &lt;DataGrid.Columns&gt;
          &lt;DataGridTextColumn Header="Test" Binding="{Binding TableA.Name}"/&gt;
      &lt;/DataGrid.Columns&gt;
  &lt;/DataGrid&gt;
  </code></pre>
  
  <p>The column is empty...<br>
  Can anyone tell me what I'm doing wrong?</p>
  
  <p>Thanks in advance!</p>