Using FindControl
Skip Navigation Links.

Using FindControl

Skip Navigation LinksHome :: ASP.NET :: Controls :: FindControl

To get the value (or other properties) of a control (if you know it's Type) use FindControl e.g. to find the value of the text in a TextBox called 'Description' call like this...
        Dim ctlfind As TextBox = CType(Me.FindControl("Description"), TextBox)
    
Next >> Iterating Controls
top of page
all content ©1996/2012 BennySutton.com
all images © their respective owners This site uses Thumbshots previews