title: DropDownList in FormView binding
body: <p>I want to bind dropdownlist to <code>List&lt;MyIem&gt;</code>,
   in code behind.</p>
  
  <pre><code> &lt;asp:DropDownList ID="listCategories"  runat="server" Height="20px"   CssClass="CategoryDropList" SelectedValue='&lt;%# Bind("ParentId") %&gt;' AutoPostBack="false" Width="300px"&gt;      
  </code></pre>
  
  <p>Without using ObjectDataSource !</p>
  
  <p>How can I Bind it to the dropdown list? In what event?</p>
  
  <p>Also <code>SelectedValue='&lt;%# Bind("ParentId") %&gt;'</code> should work! (I mean the dropdownlist binding should occur before this!)</p>