摘要: using System; using System.Collections.Generic; using System.Text; using System.IO; using System.IO.Compression; namespace Framework { public class CompressionHelper { public Compress... 阅读全文
posted @ 2008-07-01 22:07 angushine 阅读(200) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.IO; using System.Text; namespace Util { public class WriteFile { public static void WriteText(string fileName, string cont... 阅读全文
posted @ 2008-07-01 22:06 angushine 阅读(166) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Text.RegularExpressions; namespace Util { public class HtmlText { private static string html2TextPattern = @"(?)|(?)|(?)" + @"|(?]+>... 阅读全文
posted @ 2008-07-01 21:54 angushine 阅读(467) 评论(1) 推荐(0) 编辑
摘要: 使用WebRequest下载文件 using System; using System.Collections.Generic; using System.Text; using System.Net; using System.IO; namespace Util { public class Down { private void File(string na... 阅读全文
posted @ 2008-07-01 21:49 angushine 阅读(247) 评论(0) 推荐(0) 编辑
摘要: 常用方法: using System; using System.Text.RegularExpressions; using System.Collections.ObjectModel; namespace Util { public class CType { /// /// 判断是否是整数 /// ///... 阅读全文
posted @ 2008-07-01 21:46 angushine 阅读(208) 评论(0) 推荐(0) 编辑
摘要: TableAttribute.cs using System; using System.Collections.Generic; using System.Text; namespace Common { [AttributeUsage(AttributeTargets.Class)] public class TableAttribute : Attribute { ... 阅读全文
posted @ 2008-07-01 21:39 angushine 阅读(399) 评论(0) 推荐(0) 编辑