Hello everyone, before i ask this question i would like to say first that im a beginner in asp c#.

I would like toask for a tutorial on making a download button for binary datas.
My file upload is already working fine. I just need a download button so i can retrieve the file again and use it for future purposes..

For example, i have list of uploaded files on gridview

ID Doc Name LINK

321 Readme.pdf DOWNLOAD

Can someone give me a tutorial or sample code for this?

Im using visual studio 2005 and Sql2005

Thanks Everyone :)

To download you can just use Response.Redirect() function.

Response.Redirect("~/file.extension");
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.