First of all, thank ASP.NET's powerful feature, he provides the HTML control component that makes it easy to pass a dialog box to select the file you want to upload. Of course your browser must also be an IE 3.02 or Netscape 3.0 or a browser that is high than this version. You can complete the work of a local file by following statements:
<2>. In order to successfully complete the file upload, encoding in the Form must use "Multipart / Form-Data" without the default code "Application / X-WWW-Form-Urlencoded" of from FROM. The specific code is as follows: