Click here to Skip to main content
15,889,266 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
could you help me ?.
I need to display pdf file(link of file or icon link) in grid view , i ready uploaded in folder , i saved path , file name in DB

thanks in advance.
Posted
Updated 23-Mar-15 21:31pm
v2

1 solution

HTML
<a href="<%# Eval("DownloadLink")" target="_blank">Download PDF</a>


Put this in one of your GridView Column's Item Template.
 
Share this answer
 
Comments
Member 8893861 1-Apr-15 6:41am    
thank u
Arkadeep De 1-Apr-15 7:18am    
you welcome and if it works then mark the question as [Solved] my accepting the solution.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900