inkedgfx
Well-known member
I am having some diffuculties ....
I need to compare the value of textboxes to the value of the winning numbers....I have the winning numbers inside global variables.....the value of the "yournumber" textbox's will be added by the user
so I need to compare txtyournumber1.text and txtyournumber2.text and txtyournumber3.text and txtyournumber4.text and txtyournumber5.text and txtyournumber6.text to
winningnumberone
winningnumbertwo
winningnumberthree
winningnumberfour
winningnumberfive
winningnumbersix
I need to compare each winningnumber to each textbox.text in case the numbers the user enters arent in order...
I have tried string.equals
string.compare and .contains
not sure how to acomplish this...
as always any help is appreciated.
InkedGFX
I need to compare the value of textboxes to the value of the winning numbers....I have the winning numbers inside global variables.....the value of the "yournumber" textbox's will be added by the user
so I need to compare txtyournumber1.text and txtyournumber2.text and txtyournumber3.text and txtyournumber4.text and txtyournumber5.text and txtyournumber6.text to
winningnumberone
winningnumbertwo
winningnumberthree
winningnumberfour
winningnumberfive
winningnumbersix
I need to compare each winningnumber to each textbox.text in case the numbers the user enters arent in order...
I have tried string.equals
string.compare and .contains
not sure how to acomplish this...
as always any help is appreciated.
InkedGFX