i am using vb dot net. i want to store multiple values in a variable and then check whether any of the values held in the variable match what the user inputs. Please help i can not code it , i tried but failed.
This is not homework just a practice task so that i am able to code in vb dot net
could you please elaborate on answers as i do not how i would use arrays in this way thanks
i couldn't do it with arrays so tried with if statements and variable si know it doesn't work but just did it, to show you guys that i tried .
here is my code:
[ code] If voter number = voternumcheck Then
MsgBox("Please choose how you will like your voting to take place by clicking the appropriate button")
btnvotes.Enabled = True
btnpercentage.Enabled = True
Else code]
Thanks
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.