title: Remove multiple items by value from dropdownlist C#
body: <p>I have one dropdownlist named drpdemo and consist some listitems as shown below</p>
  
  <p><strong>Design Code:</strong></p>
  
  <pre><code>&lt;asp:DropDownList ID="drpdemo" runat="server"&gt;
      &lt;asp:ListItem Value="213"&gt;Select&lt;/asp:ListItem&gt;
      &lt;asp:ListItem Value="0"&gt;0&lt;/asp:ListItem&gt;
      &lt;asp:ListItem Value="2"&gt;2&lt;/asp:ListItem&gt;
      &lt;asp:ListItem Value="3"&gt;3&lt;/asp:ListItem&gt;
      &lt;asp:ListItem Value="4"&gt;4&lt;/asp:ListItem&gt;
      &lt;asp:ListItem Value="5"&gt;5&lt;/asp:ListItem&gt;
      &lt;asp:ListItem Value="0"&gt;0&lt;/asp:ListItem&gt;
  &lt;/asp:DropDownList&gt;
  </code></pre>
  
  <p><strong>Inline Code:</strong></p>
  
  <pre><code>protected void Page_Load(object sender, EventArgs e)
  {
      drpdemo.Items.Remove(drpdemo.Items.FindByValue("0"));
  }
  </code></pre>
  
  <p><strong>Current Output:</strong></p>
  
  <pre><code>Select
    2
    3
    4
    5
    0
  </code></pre>
  
  <p>Above output comes with the 0, which i don't want it in output.</p>
  
  <p><strong>Expected Output:</strong></p>
  
  <pre><code>Select
     2
     3
     4
     5
  </code></pre>
  
  <blockquote>
    <p><strong>Note: Dont want to use any loop.</strong></p>
  </blockquote>