Author: germaine.tay | Posted on: 9/9/2010 10:56:18 PM | Views : 275

Hi. I have a link button which the user clicks on it and will download a .PDF file into their PC.It is  just a file for them to download.

Currently, I have the following code.

Response.Clear()
                Response.Buffer = True
                Response.AddHeader("content-disposition", "attachment;filename=Savings Account eStatement.pdf")
                Response.Charset = ""
                Response.ContentType = "application/vnd.pdf"

                Dim objSw As New StreamWriter("Savings Account eStatement. ...

Go to the complete details ...