Page.Form Property


Gets the HTML form for the page.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

Public ReadOnly Property Form As HtmlForm

Property Value

Type: System.Web.UI.HtmlControls.HtmlForm

The HtmlForm object associated with the page.

Use the Form property to access the methods and properties of the HtmlForm object that is the base of the control hierarchy on the page.

.NET Framework
Available since 2.0
Return to top