我在mvc中有一个项目,在该项目中,我上载pdf文件并将数据保存到数据库中,如何显示指向页面的链接,当用户单击链接时,他可以下载该文件?
<a href="pdf/xyz.pdf.htm">click to download</a>
I don't know how to save file in database but I am sure that it will let user download that file.
Hope this will help.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.