Given that I added an item to CheckedListBox
this way:
checkedListBox1.Items.Add("ItemA");
And let's say that this is the only item in the control:
string s = checkedListBox1.GetItemText(0);
Now the value of s is "0"
when I expect "ItemA"
. Why can't I get correct value using checkedListBox1.GetItemText(int itemIndex)
method?