Page view counter

These tutorials demonstrate selected features in ASP.NET version 2.0, but they are compatible with later versions of ASP.NET as well. For the current documentation, see the ASP.NET portal on the MSDN Web site.

 

 

   Welcome   |   ASP.NET   |   Web Services   |   Class Browser   
  |   I want my samples in...      

ASP.NET Quickstart Tutorials

HtmlInputFile

An HtmlInputFile control handles uploading of binary or text files from a client browser to the server. File-upload works with all HTML 3.2 and later Web clients. Note that the Enctype attribute on the <form> tag must be set to "multipart/form-data".

The following sample illustrates using the HtmlInputFile control.

VB HtmlInputFile1.aspx
Run Sample View Source