c# - How to do dynamic downloads links -


its not correct title asking question when searched gave results of dynamic urls downloads. thats not want... (at least think isn't)

my issue need dynamically create list of, newsletters example, list gets created using loops in c# code , response.write(). source database contains location source of newsletter, date , name. basic output of code is:

|news letters |date:       |name:        |view button: |download link:  | |7/01/2013   |june news    |   [view]    |   [download]   | |8/01/2013   |july news    |   [view]    |   [download]   | 

more or less... table generated in loop, can length.

how go implementing download each individual news letter? html code using ordinary table , view button href link souce.

if you're using html5 can add word 'download' end of href link.

<a href="link newsletter.pdf" download>download link</a> 

this force download instead of opening pdf normal.

good luck!


Comments