savePath += fileName;
FileUpload1.PostedFile.SaveAs(savePath);
UploadStatusLabel.InnerText = "File saved as: " + savePath + "";
}
else
{
UploadStatusLabel.InnerText = "You did not specify a file to upload.";
}
}
https://www.111cn.net ">
HtmlInputFile
Select a picture to upload:
Picture to upload
onserverclick="UploadButton_Click" />
方法二
Please select an image to submit:
方法三