Hi,
i am take a datalist and one button on it and i want to display doc or pdf file on click in that button in asp.net.
Please rply as soon as possible..
Thanks.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Kristian FranjoPosted May 13, 2015, 5:56 AM
If you want to display the path of each document or file in the Datalist, I think the following two links might help:
https://msdn.microsoft.com/en-us/library/bb498210.aspx
http://www.w3schools.com/aspnet/aspnet_datalist.asp
But if you want to display the DOC and PDF files directly in the Datalist, you first need to find a way to load and display the document file on web. I think leadtools has an HTML5 document viewer control that you can use to support this feature. You can find an online demo here:
http://demo.leadtools.com/HTML5/DocumentViewerDemo/index.html
Yogesh KumarPosted Apr 30, 2015, 10:34 AM
Sneha SnehaPosted Apr 29, 2015, 4:19 AM
http://www.aspsnippets.com/Articles/Upload-and-Download-files-from-SQL-Server-Database-in-ASPNet.aspx
http://www.webblogsforyou.com/how-to-upload-and-download-files-from-server-folder-in-asp-net/
http://www.aspdotnet-suresh.com/2012/02/saveupload-files-in-folder-and-download.html
Regards
Sneha