Saturday, 22 February 2014

clear ALL textboxes and label

clear ALL textboxes and label

For Each ctrl In Controls
                If TypeOf ctrl Is TextBox Or TypeOf ctrl Is Label Then
                    ctrl.Text = String.Empty
                End If
            Next

No comments:

Post a Comment