title: How to access selected value from the code behind in drop down list defined inside edititemtemplate using ASP.NET?
body: <p>I have a DropDownlist inside an Edititemtemplate. I want to access the selected value from code behind.</p>
  
  <p>My aspx</p>
  
  <pre><code>&lt;EditItemTemplate&gt;
  &lt;asp:DropDownList ID="ddlcountry" runat="server"&gt;
  &lt;asp:ListItem Text="Select Country" Value="0" disabled selected&gt;&lt;/asp:ListItem&gt;
  &lt;asp:ListItem Text="india" Value="1"&gt;&lt;/asp:ListItem&gt;
          &lt;/asp:DropDownList&gt;
  &lt;/EditItemTemplate&gt;
  </code></pre>
  
  <p>My aspx.cs</p>
  
  <pre><code> protected void ListView1_ItemUpdating(object sender, ListViewUpdateEventArgs e)
      {
      //I want to access the dropdown value here//
      }
  </code></pre>