-
really simple question
Hi,
i have 6 text boxes, i've made a button called clear, when data has been inputted into the text boxes, i want to be able to press the clear button and it clears all the data
ive tried this :
TxtWinner1.Text = ""
TxtWinner2.Text = ""
TxtWinner3.Text = ""
TxtWinner4.Text = ""
TxtWinner5.Text = ""
TxtWinner6.Text = ""
TxtWinner6.Text = ""
but it doesn't work can anyone help?
-
do you have the code in the right event? are the controls named right?
-
That ought to work if you've followed Eye Talion's post. You can use txtWinner1.Clear() as well.
-
thank you its working now