title: DataGridView functions differently than GridView when receiving LINQ query?
body: <p>I have the following code in a C# Visual Studio Web App:</p>
  <pre><code>SampleDataContext dbContext = new SampleDataContext();
  gridView1.DataSource = from employee in dbContext.Employees
                                         select employee;
  </code></pre>
  <p>This code works fine to display the table &quot;Employee&quot; in the SQL database &quot;Sample&quot;.</p>
  <p>I want to use similar code in a Windows Form App, using the DataGridView element instead of the GridView element:</p>
  <pre><code>SampleDataContext dbContext = new SampleDataContext();
  dataGridView1.DataSource = from employee in dbContext.Employees
                                         select employee;
  </code></pre>
  <p>This code mostly works but it also displays an extra column, I believe because the data has a foreign key. Every row reads &quot;[Project Name].[Table that foreign key points to]&quot; under the extra column named &quot;[Table that foreign key points to]&quot; How do I make it so that this column does not appear?</p>
  <p>Do I have to load the table into a DataTable element and then use that as the DataSource for DataGridView element?</p>