摘要: /// /// 执行CMD 命令 /// /// 命令串 /// public static string RunCommand(string strCommand) { ... 阅读全文
posted @ 2015-11-23 15:09 bobo-bobo 阅读(160) 评论(0) 推荐(0) 编辑
摘要: /// /// 获取客户端IP地址 /// /// public static string GetClientIP() { string result = HttpContext.Cu... 阅读全文
posted @ 2015-11-23 15:05 bobo-bobo 阅读(204) 评论(0) 推荐(0) 编辑
摘要: using System.Text;public class MediaHelper{ private static MediaHelper media = null; private MediaHelper() { } public static MediaHelpe... 阅读全文
posted @ 2015-11-23 15:03 bobo-bobo 阅读(198) 评论(0) 推荐(0) 编辑
摘要: using System.Data;using System.IO;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;/// /// 导出EXCEL/// public class GridViewExportU... 阅读全文
posted @ 2015-11-23 14:59 bobo-bobo 阅读(568) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Text.RegularExpressions;using System.Web;public class CookieHelper{ /// /// 清除登录用户的cookie /// public static vo... 阅读全文
posted @ 2015-11-23 14:55 bobo-bobo 阅读(668) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Drawing;using System.Drawing.Imaging;using System.IO;using System.Web;using Bo_myCommon;public class Upload{ #region 上传图片... 阅读全文
posted @ 2015-11-23 14:48 bobo-bobo 阅读(681) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Drawing;using System.Drawing.Imaging;using System.IO;using System.Web;public class ImageHelper{ #region 正方型裁剪并缩放 /// ... 阅读全文
posted @ 2015-11-23 14:47 bobo-bobo 阅读(390) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Data;using System.Data.Common;using System.Data.SQLite;using System.IO;using System.Text.RegularExpressions;using System.Xml... 阅读全文
posted @ 2015-11-23 14:42 bobo-bobo 阅读(1862) 评论(0) 推荐(0) 编辑