Hello
I have a windows form contains 1 groupbox the groupbox1 hold 8 Textboxes
what i need is when i press the Button1 it clear any content on each Textbox,
i use the following code to do that in button click event
textbox1.text= nothing
textbox2.text= nothing
textbox3.text= nothing
textbox4.text= nothing
textbox5.text= nothing
textbox6.text= nothing
textbox7.text= nothing
textbox8.text= nothing
but i need another way that loop for each textbox inside the groupbox and clear it
Start Free Trial