文章分类 -  常用代码集锦

摘要:2011年7月21日晚在We7CMS中看到的两个关于使用ICSharpCode.SharpZipLib.dll对文件进行压缩和解压的方法。 1 /// <summary> 2 /// zip压缩业务处理包括模板组等 3 /// </summary> 4 public static class ZipClass 5 { 6 //压缩 7 8 public static void ZipFile(string FileToZip, string ZipedFile, int CompressionLevel, int BlockSize) 9 { 10 //如果檔沒有找到, 阅读全文
posted @ 2011-07-21 22:22 水晶泡泡 阅读(350) 评论(0) 推荐(0)