Link to home
Start Free TrialLog in
Avatar of MKItani
MKItani

asked on

how i can get the index of the checkedlistbox item according to the value+C#+VS 2008+Window application

i want to get the index of the checkedlistbox item according to the value, so i have used
string value="hello";
// but all the items the answer is -1, and i sure that there is a item of value equal hello in the list
int getIndex=CheckedListBox.Items.IndexOf(value);
i read a lot of the internet and many people face this problem.

regards,
ASKER CERTIFIED SOLUTION
Avatar of guvera
guvera
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Easwaran Paramasivam
Easwaran Paramasivam
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial