title: Handling selected items from Checkboxlist
body: <p>Appreciate the suggestions on the following: I have a checkboxlist called CBL_categ with over 20 items. I select some items from it, and associate this block of code below with pressing a button. The sum in the end is always zero. Why?</p>
  
  <pre><code>protected void FButton_Click(object sender, EventArgs e)
          {
              int sum=0;
  
              for (int i = 1; i &lt; 20; i++)
              {
                  if (CBL_categ.Items[i].Selected)
                      sum = sum + 1;
              }
              statusLabel.Text += " " + sum;
  
          }
  </code></pre>