摘要:
using System.Text.RegularExpressions;namespace DotNet.Utilities{ /// /// 操作正则表达式的公共类 /// public class RegexHelper { #region 验证输入字符串是否与模式字符串匹配 /// ... 阅读全文
摘要:
using System;using System.Collections.Generic;using System.Text;using System.DirectoryServices;using System.Security.Principal;using System.Runtime.In... 阅读全文
摘要:
using System.Collections;using System.Text.RegularExpressions;public class BarCodeToHTML{ public static string get39(string s, int width, int height) ... 阅读全文
摘要:
using System;using System.Web;using System.Drawing;using System.Security.Cryptography;/// /// 验证码类/// public class Rand{ #region 生成随机数字 /// /// 生成随机数... 阅读全文
摘要:
using System;using System.IO;using System.Net;using System.Text.RegularExpressions;/// /// 图片下载/// public class ImageDown{ public ImageDown() { } #reg... 阅读全文
摘要:
using System;using System.IO;using System.Web;using System.Web.UI.HtmlControls;using System.Drawing;/// /// 文件类型/// public enum FileExtension{ JPG = 2... 阅读全文
摘要:
using System;using System.Data;using System.IO;using System.Xml;public class XMLProcess{ #region 构造函数 public XMLProcess() { } public XMLProcess(string... 阅读全文
摘要:
using System.Web;using System.Configuration;//if (this.fload.HasFile)//{// string upFileName = HttpContext.Current.Server.MapPath("~/savefile") + "\\"... 阅读全文
摘要:
using System;using System.Text;using System.IO;using System.Net.Sockets;using System.Collections;public enum MailFormat { Text, HTML };public enum Mai... 阅读全文
摘要:
using System;using System.IO;using System.Diagnostics;using Microsoft.Win32;using ICSharpCode.SharpZipLib.Checksums;using ICSharpCode.SharpZipLib.Zip;... 阅读全文
摘要:
using System.Web;public static class SessionHelper{ /// /// 添加Session,调动有效期为20分钟 /// /// Session对象名称 /// Session值 public static void Add(string strS... 阅读全文
摘要:
using System;using System.IO;using System.Text;using System.Xml;using System.Xml.Serialization;using System.Runtime.Serialization.Json;using System.Ru... 阅读全文
摘要:
using System;using System.Collections;using System.IO;using System.Text.RegularExpressions;/// /// 分词辅助类/// public class SegList{ public int MaxLength... 阅读全文
摘要:
using System.Web;using System.Text;public static class PSD2swfHelper{ /// /// 转换所有的页,图片质量80% /// /// PDF文件地址 /// 生成后的SWF文件地址 public static bool PDF2... 阅读全文
摘要:
using System.Text;public class PinYin{ public string GetFirstLetter(string hz) { string ls_second_eng = "CJWGNSPGCGNESYPBTYYZDXYKYGTDJNNJQMBSGZSCYJSYY... 阅读全文
摘要:
using System.Web;/// /// 客户端脚本输出/// public class JsHelper{ /// /// 弹出信息,并跳转指定页面。 /// public static void AlertAndRedirect(string message, string toUR... 阅读全文
摘要:
using System;using System.Collections;using System.IO;using System.Drawing;using System.Drawing.Imaging;using System.Drawing.Drawing2D;public class Im... 阅读全文
摘要:
using System;using System.Net;using System.IO;using System.Text;using System.Net.Sockets;using System.Threading;public class FTPClient{ public static ... 阅读全文
摘要:
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.... 阅读全文
摘要:
using System;using System.Text;using System.IO;public class FTPOperater{ #region 属性 private FTPClient ftp; /// /// 全局FTP访问变量 /// public FTPClient Ft... 阅读全文