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