Advertisement

05.31.2008 at 01:09PM PDT, ID: 23447318
[x]
Attachment Details

clear the textboxes text inside groupBox

Asked by ali_alannah in Visual Studio .NET 2005, Microsoft Visual Basic.Net

Tags: MS. Vb.Net 2005, Vb.Net 2005

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
[+][-]05.31.2008 at 01:27PM PDT, ID: 21684969

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Visual Studio .NET 2005, Microsoft Visual Basic.Net
Tags: MS. Vb.Net 2005, Vb.Net 2005
Sign Up Now!
Solution Provided By: elimesika
Participating Experts: 2
Solution Grade: A
 
 
[+][-]05.31.2008 at 08:47PM PDT, ID: 21685956

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628