This documentation is archived and is not being maintained.

GetForm Method

.NET Framework 1.1

Returns a form object as specified by the id parameter.

public System.Web.UI.MobileControls.Form GetForm(
   string id


The identifier of the form to return.

Return Values

The specified form object. If no such form exists GetForm throws an exception.


Each form has a string identification number associated with it. You supply the ID of a form on the page and are returned the corresponding Form object.

See Also

Form Class | Form

Applies to: MobilePage Class