|
-
Oct 28th, 2004, 05:54 AM
#1
Thread Starter
Addicted Member
VB.NET: Using String to compare with the Combo Box...[Resolved]
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 Combobox 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 by toytoy; Oct 28th, 2004 at 10:17 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|