saimagulse
Programmer
In VB6 we can write code like this to clear all text boxes on form
For each ctl in me.controls
if typeof(ctl) is TEXtBox then
ctl.text=""
next
I want this type of code in VB.Net so that all text boxes on my form will be cleared.
How can i do that?
For each ctl in me.controls
if typeof(ctl) is TEXtBox then
ctl.text=""
next
I want this type of code in VB.Net so that all text boxes on my form will be cleared.
How can i do that?