System.Web Namespace
Provides a way to access individual files that have been uploaded by a client.
The members of the HttpPostedFile class are exposed via the PostedFile property of the HtmlInputFile control, which provides the means to select and upload files from a client.
The HttpFileCollection class provides access to all the files uploaded from a client as a file collection. HttpPostedFile provides the means to access the content and properties of each individual file, and to read and save the file. Files are uploaded in MIME multipart/form-data format and are buffered in server memory until explicitly saved to disk.
Show me
HtmlInputFile.PostedFile.methodName ( arguments );
HtmlInputFile.PostedFile.methodName ( arguments ) |
|
C# |
VB |
Type var = HtmlInputFile.PostedFile.propertyName;
Dim var as Type = HtmlInputFile.PostedFile.propertyName |
|
C# |
VB |
HttpFileCollection Class