如何在单击按钮时从GridView下载所有文件...?

如何在单击按钮时从GridView下载所有文件...?

问题描述:

请在我的项目中帮助我,我有一些图像文件,视频文件.这些文件显示在gridview中,并且这些文件的路径和名称存储在数据库中.一个名为全部下载"的按钮.当用户单击此按钮时,这些文件应放在zip文件夹中,并将这些文件夹下载到他的系统中.就像我们下载某些应用程序一样,它显示zip文件夹并且包含文件.

please help me in my project i have some image files,video files.these files are shown in gridview and these file path and name is stored in database. one button called "Download All". When user clicks on this button these file should go in zip folder and download these folder in to his system. just like we download some application then it shows zip folder and it contains files.

嗨Vaishali,

请参阅以下链接

http://highoncoding.com/Articles/597_Downloading_Multiple_Files_as_a_a_Zip_File_Using_XView/Articles/597_Downloading_Multiple_Files_as_a_a_Zip_File_Using_GridView_and_SharpZipLib.aspx"target =" _ blank"title =" New Window> ^ ]
Hi Vaishali,

Refer Following Link

http://highoncoding.com/Articles/597_Downloading_Multiple_Files_as_a_Zip_File_Using_GridView_and_SharpZipLib.aspx[^]




检查 [
Hi,

check this[^] link,

this may help you

thanks
-Amit.