title: Hide item in dropdownlist - C#
body: <p>I have in dropdownlist some values, (for example 1, 2, 3) and I want to hide one of them (for example 2), then when i click on dropdownlist I want to see only 1 and 3 values...</p>
  
  <p>I use this code, but it doesnt work...</p>
  
  <pre><code>dropDownList.Items[0].Attributes.Add("style", "display: none");
  </code></pre>
  
  <p>this solution doesnt work too...</p>
  
  <pre><code>dropDownList.Items[0].Attributes.Add("style", "visibility: hidden");
  </code></pre>
  
  <p>but when I for example setting color with this solution, it works...</p>
  
  <p>Do somebody know how to set it in C#?</p>
  
  <p>Later I want to unhide this value and I want to see all values (1, 2, 3)</p>
  
  <p>Thx.</p>