File Uploading using Server.MapPath() and FileUpload.SaveAs()

前端 未结 4 1974
梦如初夏
梦如初夏 2021-02-09 09:51

I have a website admin section which I\'m busy working on, which has 4 FileUpload controls for specific purposes. I need to know that , when I use the Server.MapPath()

4条回答
  •  一整个雨季
    2021-02-09 10:17

    yes, that can be used after saving file and when you try retrieve that file...

    Server.MapPath("~/Images/Logos/" + uploadedFileName);
    

提交回复
热议问题