title: Hide one item in DropDownList when DataSourceID = "SqlDataSource1" in C# Asp.Net Web Forms
body: <p>How can I hide one item in DropDownList when <code>DataSourceID="SqlDataSource1"</code>?</p>
  
  <p>I tried to do it:</p>
  
  <pre><code>DropDownList1.Items.Remove(DropDownList1.Items.FindByText("Value"));
  </code></pre>
  
  <p>And this too:</p>
  
  <pre><code>DropDownList1.Items[/*index*/].Enabled = false;
  </code></pre>
  
  <p>But they do not work.</p>