tags:

views:

43

answers:

1

Hi!

I have CheckedListBox and four item in it! Now I want to count number of checked item. For this I use:

 countnumber=CheckedListBox1.CheckedItems.Count

But countnumber is always 0 even if I checked CheckedListBox items or not!

What I am doing wrong?

A: 

Show us your code. CheckedListBox1.CheckedItems.Count should work, just like CheckedListBox1.CheckedIndices.Count, so you should show us some code if you want us to pinpoint the issue.

M.A. Hanin