|
Simple way to upload files using asp.net 2.0 |
|
|
|
Tuesday, 24 October 2006 |
Simple way to upload files: //1- First create a component called "FileUpload1", then put this code in your .cs file: ... if (FileUpload1.HasFile) { string uploadPath = Server.MapPath("relativefolderpath/uploadedfile.tmp"); FileUpload1.SaveAs(uploadPath); } ...
|
|
Last Updated ( Tuesday, 31 October 2006 )
|