Gets or sets the Enctype attribute of the form. This is the encoding type that browsers use when posting the form's data to the server.
[Visual Basic] Public Property Enctype As String [C#] public string Enctype {get; set;} [C++] public: __property String* get_Enctype(); public: __property void set_Enctype(String*); [JScript] public function get Enctype() : String; public function set Enctype(String);
The Enctype attribute of the form.
The standard encoding format is the Internet Media Type "applicaton/x-www-form-urlencoded." Other valid types include: "multipart/form-data", "text/plain", and "image/jpeg".
HtmlForm Class | HtmlForm Members | System.Web.UI.HtmlControls Namespace