摘要: using System.Text.RegularExpressions;namespace DotNet.Utilities{ /// /// 操作正则表达式的公共类 /// public class RegexHelper { #region 验证输入字符串是否与模式字符串匹配 /// ... 阅读全文
posted @ 2014-10-22 16:33 m天下 阅读(735) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.Text;using System.DirectoryServices;using System.Security.Principal;using System.Runtime.In... 阅读全文
posted @ 2014-10-22 16:32 m天下 阅读(423) 评论(0) 推荐(0)
摘要: using System.Collections;using System.Text.RegularExpressions;public class BarCodeToHTML{ public static string get39(string s, int width, int height) ... 阅读全文
posted @ 2014-10-22 16:30 m天下 阅读(201) 评论(0) 推荐(0)
摘要: using System;using System.Web;using System.Drawing;using System.Security.Cryptography;/// /// 验证码类/// public class Rand{ #region 生成随机数字 /// /// 生成随机数... 阅读全文
posted @ 2014-10-22 16:30 m天下 阅读(392) 评论(0) 推荐(0)
摘要: using System;using System.IO;using System.Net;using System.Text.RegularExpressions;/// /// 图片下载/// public class ImageDown{ public ImageDown() { } #reg... 阅读全文
posted @ 2014-10-22 16:30 m天下 阅读(193) 评论(0) 推荐(0)
摘要: using System;using System.IO;using System.Web;using System.Web.UI.HtmlControls;using System.Drawing;/// /// 文件类型/// public enum FileExtension{ JPG = 2... 阅读全文
posted @ 2014-10-22 16:30 m天下 阅读(1703) 评论(0) 推荐(0)
摘要: using System;using System.Data;using System.IO;using System.Xml;public class XMLProcess{ #region 构造函数 public XMLProcess() { } public XMLProcess(string... 阅读全文
posted @ 2014-10-22 16:28 m天下 阅读(404) 评论(0) 推荐(0)
摘要: using System.Web;using System.Configuration;//if (this.fload.HasFile)//{// string upFileName = HttpContext.Current.Server.MapPath("~/savefile") + "\\"... 阅读全文
posted @ 2014-10-22 16:27 m天下 阅读(501) 评论(0) 推荐(0)
摘要: using System;using System.Text;using System.IO;using System.Net.Sockets;using System.Collections;public enum MailFormat { Text, HTML };public enum Mai... 阅读全文
posted @ 2014-10-22 16:26 m天下 阅读(357) 评论(0) 推荐(0)
摘要: using System;using System.IO;using System.Diagnostics;using Microsoft.Win32;using ICSharpCode.SharpZipLib.Checksums;using ICSharpCode.SharpZipLib.Zip;... 阅读全文
posted @ 2014-10-22 16:25 m天下 阅读(392) 评论(0) 推荐(0)
摘要: using System.Web;public static class SessionHelper{ /// /// 添加Session,调动有效期为20分钟 /// /// Session对象名称 /// Session值 public static void Add(string strS... 阅读全文
posted @ 2014-10-22 16:24 m天下 阅读(470) 评论(0) 推荐(0)
摘要: using System;using System.IO;using System.Text;using System.Xml;using System.Xml.Serialization;using System.Runtime.Serialization.Json;using System.Ru... 阅读全文
posted @ 2014-10-22 16:22 m天下 阅读(569) 评论(0) 推荐(0)
摘要: using System;using System.Collections;using System.IO;using System.Text.RegularExpressions;/// /// 分词辅助类/// public class SegList{ public int MaxLength... 阅读全文
posted @ 2014-10-22 16:21 m天下 阅读(742) 评论(0) 推荐(0)
摘要: using System.Web;using System.Text;public static class PSD2swfHelper{ /// /// 转换所有的页,图片质量80% /// /// PDF文件地址 /// 生成后的SWF文件地址 public static bool PDF2... 阅读全文
posted @ 2014-10-22 16:20 m天下 阅读(314) 评论(0) 推荐(0)
摘要: using System.Text;public class PinYin{ public string GetFirstLetter(string hz) { string ls_second_eng = "CJWGNSPGCGNESYPBTYYZDXYKYGTDJNNJQMBSGZSCYJSYY... 阅读全文
posted @ 2014-10-22 16:19 m天下 阅读(2487) 评论(0) 推荐(0)
摘要: using System.Web;/// /// 客户端脚本输出/// public class JsHelper{ /// /// 弹出信息,并跳转指定页面。 /// public static void AlertAndRedirect(string message, string toUR... 阅读全文
posted @ 2014-10-22 16:18 m天下 阅读(362) 评论(0) 推荐(0)
摘要: using System;using System.Collections;using System.IO;using System.Drawing;using System.Drawing.Imaging;using System.Drawing.Drawing2D;public class Im... 阅读全文
posted @ 2014-10-22 16:16 m天下 阅读(901) 评论(0) 推荐(0)
摘要: using System;using System.Net;using System.IO;using System.Text;using System.Net.Sockets;using System.Threading;public class FTPClient{ public static ... 阅读全文
posted @ 2014-10-22 16:14 m天下 阅读(1710) 评论(0) 推荐(0)
摘要: using System;using System.IO;using System.Data;using System.Collections;using System.Data.OleDb;using System.Web;using System.Web.UI;using System.Web.... 阅读全文
posted @ 2014-10-22 16:14 m天下 阅读(201) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.Text; using System.IO; using System.Net;using System.Text.RegularExpressions;public class... 阅读全文
posted @ 2014-10-22 16:13 m天下 阅读(190) 评论(0) 推荐(0)