title: ListView DropDownList Edit ListView
body: <p>I have created a ListView that has editing enabled, the wizard generated the table with the use of textboxes but i require the use of dropdown lists for some options.</p>
  
  <p>I have created the dropdown list</p>
  
  <pre><code> &lt;asp:DropDownList ID="ActionStatusTextBox" runat="server"&gt;
                      &lt;asp:ListItem Value="Ongoing"&gt;Ongoing&lt;/asp:ListItem&gt;
                      &lt;asp:ListItem Value="Open"&gt;Open&lt;/asp:ListItem&gt;
                      &lt;asp:ListItem Value="Closed"&gt;Closed&lt;/asp:ListItem&gt;
   &lt;/asp:DropDownList&gt;
  </code></pre>
  
  <p>The drop down list generates successfully but doesn't submit and enter itself in the databse.</p>
  
  <pre><code>&lt;%# Bind("ActionStatus") %&gt;'
  </code></pre>
  
  <p>The above snippet needs to used somewhere in order to bind the data but which parameter does it need attaching to to pass the data?</p>
  
  <p>I've tried everything and its giving me a right headache!</p>
  
  <p>Thanks</p>