title: Local sequence cannot be used in LINQ to SQL implementation of query operators except the Contains() operator
body: <p>I am using LINQ in my project and my code is:</p>
  
  <pre><code>var SE = from c in Shop.Sections
                      join c1 in obj.SectionObjects on c.SectionId equals c1.SectionId
                      select c;
  
   dataGridView1.DataSource = SE;
  </code></pre>
  
  <p>but I face this error in line <code>dataGridView1.DataSource = SE;</code><br>
  error message is:</p>
  
  <blockquote>
    <p>Local sequence cannot be used in LINQ to SQL implementation of query operators except the Contains() operator.</p>
  </blockquote>