Hi...
Say i have this string call "data" in Form1, this string contains number "5" value....
how do i pass this string to the Form2 and compare with the combo box items...
The combo box DropDownStyle is set to DropDownList...
which means when i pass, the SelectedIndex must be subtract or add by 1 to get the correct items to display...
The Combo box items contain:
One, Two, Three, Four and Five...
How to i actually pass this string to Form2 and Form2 will compare the number 5 with the items and display Five instead in the combo box correctly..
Thanks
Say i have this string call "data" in Form1, this string contains number "5" value....
how do i pass this string to the Form2 and compare with the combo box items...
The combo box DropDownStyle is set to DropDownList...
which means when i pass, the SelectedIndex must be subtract or add by 1 to get the correct items to display...
The Combo box items contain:
One, Two, Three, Four and Five...
How to i actually pass this string to Form2 and Form2 will compare the number 5 with the items and display Five instead in the combo box correctly..
Thanks
Last edited: