CheckedListBox problem

  • Thread starter Thread starter Reza
  • Start date Start date
R

Reza

Hi,
I want to check one of the memebrs of a checkedListbox based on its value.

I 'm getting a number(say 1355) from another control and based on that
number I want to check an item which its value is 1355,how can I do that?


thannks.
 
int iIndex = checkedListbox.FindStringExact("1355"); //
if (iIndex != ListBox.NoMatches)
checkedListbox.SetItemChecked(iIndex, true);
 
Perhaps if you could post your code so we can see how you are setting up the
CheckedListBox.
 
my other question is that ,can I add value to the memeber while I am adding
them to the chekedListBox or not?
(Like what we do with Combox)
 
Back
Top