MichaelEaton Posted April 26, 2009 Share Posted April 26, 2009 Hi Guys, I'm trying to act on a combobox's value being over 3.. i'm not sure how thought, i've tried a few different things and searching the internet but can't find anything on this. If anyone could help, that'd be great. Thanks, Michael Link to comment Share on other sites More sharing options...
0 bmdixon Posted April 26, 2009 Share Posted April 26, 2009 Assuming you mean the value of the text that is in the combobox's selected item then you would need to convert the string to an integer int integerString = Convert.ToInt32(<combobox string>) Then see if that is greater than 3. Hope that helps. Link to comment Share on other sites More sharing options...
Question
MichaelEaton
Hi Guys,
I'm trying to act on a combobox's value being over 3.. i'm not sure how thought, i've tried a few different things and searching the internet but can't find anything on this.
If anyone could help, that'd be great.
Thanks,
Michael
Link to comment
Share on other sites
1 answer to this question
Recommended Posts