title: Populate a DropDownList using Entity Framework 4
body: <p>I need a very simple example of code to populate a DropDownList using Entity Framework 4.</p>
  
  <p>At the moment I use this code:</p>
  
  <pre><code>        using (TestHierarchyEntities context = new TestHierarchyEntities())
          {
              uxSelectNodeDestinationDisplayer.DataSource = context.CmsCategories.ToList();
              uxSelectNodeDestinationDisplayer.DataBind();
          }
  </code></pre>
  
  <p>But it does not work properly... Any idea? Thanks</p>