title: how to get number of items checked in checklist in textbox?
body: <p>I want to add no items checked in textbox from checklist box. but nothing is showing in textbox.</p>
  
  <pre><code>   private void button1_Click(object sender, EventArgs e)
      {
  
          for (int i = 0; i &lt; chklst_scrips.Items.Count; i++)
          {
  
              if (chklst_scrips.GetItemCheckState(i) == CheckState.Checked)
              {
                  for (int j = 0; ;j++ )
  
                  {
  
                      textBox1.Text = Convert.ToString(j);
  
                  }
  
              }
          }
  
      }
  </code></pre>