摘要: using System.IO; using System.Drawing; using System.Threading; using System.Windows.Forms; public class WebSiteThumbnail { Bitmap m_Bitmap; string m_Url; int m_BrowserWidth, m_BrowserHei... 阅读全文
posted @ 2018-07-09 10:51 mcluzhi 阅读(938) 评论(0) 推荐(0) 编辑
摘要: public void downloadfile(string s_fileName) { HttpContext.Current.Response.ContentType = "application/ms-download"; string s_path = HttpContext.Current.Server.MapPath("~/") + s_fi... 阅读全文
posted @ 2018-07-09 10:50 mcluzhi 阅读(223) 评论(0) 推荐(0) 编辑
摘要: using ICSharpCode.SharpZipLib.Zip; public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { // 打包下载某文件夹里的所有文件 //需要打包的文件夹 ... 阅读全文
posted @ 2018-07-09 10:49 mcluzhi 阅读(449) 评论(0) 推荐(0) 编辑