K
Kemp
I need help with clearing the text boxes when the submit
button is clicked. I am developing a web application. I
have tried placing the following code in the button_click
event, but this doesn't work.
Dim c As Control
For Each c In Me.Controls
If TypeOf(c) Is TextBox Then
CType(c, TextBox).Text = ""
End If
Next
Thanks,
button is clicked. I am developing a web application. I
have tried placing the following code in the button_click
event, but this doesn't work.
Dim c As Control
For Each c In Me.Controls
If TypeOf(c) Is TextBox Then
CType(c, TextBox).Text = ""
End If
Next
Thanks,