Form Property
Collapse the table of content
Expand the table of content

Page.Form Property


Gets the HTML form for the page.

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

public HtmlForm Form { get; }

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
© 2015 Microsoft