下载期间制作Zip文件 [英] Make Zip File during download

查看:79
本文介绍了下载期间制作Zip文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个gridview,它来自sqlserver 2008中的数据,在sqlserver中有大量关于歌曲的数据。
表中的
有很多coloums,如id,songname,data,content,moviename。

现在我想,当用户点击所有下载按钮,然后一部电影的所有歌曲必须在客户端电脑上下载





数据库:sqlserver 2008



thnx。

i have a gridview that brins data from sqlserver 2008, in sqlserver having a large amount of data about songs.
in table has many coloums like id, songname, data, content, moviename.
now i want ,when user click on all download button then all song of one movie has to be download
in the client pc.

database: sqlserver 2008

thnx.

推荐答案

你的是什么需求?服务器应该压缩文件,然后发送它? (那么为什么不从头开始以zip格式存储文件?)或者客户端是否应该压缩收到的文件?

您知道Framework轻轻地提供了 ZipFile类 [ ^ ]。
And what is your requirement? The server should zip the file and then send it? (So why didn't you store the files in zip format from start?) Or should the client zip the received file?
You know the Framework gently provides the ZipFile Class[^].


这篇关于下载期间制作Zip文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆