for some reason my code won't recognize text boxes on my webform?
Code:Dim myControl As Control For Each myControl In Page.Controls If myControl.GetType Is GetType(System.Web.UI.WebControls.TextBox) Then CType(myControl, TextBox).Text = String.Empty End If Next myControl




Reply With Quote