title: dropdown selected index code shortening
body: <p>So I have a range of 10 dropdowns and labels that have and will get the same value. Is there another way to do this besides copying and pasting the same code 10 times?</p>
  
  <pre><code>protected void drpPOMedList1_SelectedIndexChanged(object sender, EventArgs e)
  {
      if (drpPOMedList1.SelectedIndex == 0)
      {
          lblPOLimit1.Text = "PO Med not Selected";
      }
      else if (drpPOMedList1.SelectedIndex == 1)
      {
          lblPOLimit1.Text = "0 / 0";
      }
      else if (drpPOMedList1.SelectedIndex == 2)
      {
          lblPOLimit1.Text = "8 / 20";
      }
   }
  </code></pre>