Visual Basic 2010
Get free Visual basic 2010 source codes. Learn Visual Basic 2010 using this website.
Pages
Home
About
Total Pageviews
Add This
My Links
Click Here For More FREE Visual Basic 2010 Tutorials
Friday, May 13, 2011
Clear data from all TextBoxes in the Form
If you want to clear the data from all textboxes in the form just with one click, in one button enter the code bellow:
Dim
tbox
As
Control
For
Each
tbox
In
Me
.
Controls
If
TypeOf
tbox
Is
TextBox
Then
tbox
.
Text
=
Nothing
End
If
Next
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment