title: Data binding directly to a store query (DbSet, DbQuery, DbSqlQuery) is not supported
body: <p>Am coding on <strong>visual studio 2012</strong> and using <strong>Entity Model</strong> as my Data layer. However, my drop down control with the Linq statement tend to throw an unhandled exception when the page tries to load (stated title above). Here is my code below;</p>
  
  <pre><code>using (AdventureWorksEntities dw = new AdventureWorksEntities())
          {
              ddlCon.DataSource = (from em in dw.Employees
                                   select new { em.Title, em.EmployeeID });
  
              ddlCon.DataTextField = "Title";
              ddlCon.DataValueField = "EmployeeID";
              ddlCon.DataBind();
              ddlCon.Items.Insert(0, new ListItem("--Select--", "--Select--"));
          }
  </code></pre>
  
  <ol>
  <li>I want to know why that error occurred</li>
  <li>What should be the proper way to bind to a control when using LINQ?</li>
  </ol>