FormMethod

FormMethodserializable

System.Web.UI.MobileControls (system.web.mobile.dll)enum

This enumeration is used in conjunction with the Form.Method property to specify how data will be submitted with a form. If supported, you will almost always use Post, which submits information in the body of a request. A Get request, on the other hand, submits data as query string arguments in the URL. This approach may not work with all types of data, and may be subject to length requirements.

public enum FormMethod {
   Get = 0,
   Post = 1
}

Hierarchy

System.Object System.ValueType System.Enum(System.IComparable, System.IFormattable, System.IConvertible) FormMethod

Returned By

Form.Method

Passed To

Form.Method



    Part I: Introduction to ASP.NET
    Part III: Namespace Reference
    Chapter 40. The System.Web.UI.MobileControls Namespace
    Chapter 42. The System.Web.UI.WebControls Namespace