使用C#在asp.net中下载图片

问题描述:

Hi,
I am developing a website. I have a folder containing some images. Please somebody help me with the code so that the users can download the image within the folder when they click on the download button.

你好,

请参阅下面的链接.这可能对您有帮助.

http://www.daniweb. com/web-development/aspnet/threads/252778/file-download-in-asp.net-using-c-code [使用C#下载文件 [ http://4rapiddev.com/csharp/asp-net -c-download-or-save-image-file-from-url/ [
Hi,

See the below link. It might be helpful to you.

http://www.daniweb.com/web-development/aspnet/threads/252778/file-download-in-asp.net-using-c-code[^]
Download File Using C#[^]
http://4rapiddev.com/csharp/asp-net-c-download-or-save-image-file-from-url/[^]

Thanks,
Viprat