P
Paul D. Fox
I want to be able to loop through all the TextBoxes on a page and clear
their values. How can I write a function to do that?
their values. How can I write a function to do that?
Paul said:I want to be able to loop through all the TextBoxes on a page and clear
their values. How can I write a function to do that?
Paul D. Fox said:I want to be able to loop through all the TextBoxes on a page and clear
their values. How can I write a function to do that?
For Each myControl As Control In Page.Controls
If TypeOf myControl Is TextBox Then
CType(myControl, TextBox).Text = String.Empty '(or "")
End If
Next myControl
Lisa