SqlParameter参数方式操作数据库(存储过程)
摘要:DataBase.csView Code using System;using System.Data;using System.Configuration;using System.Linq;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.HtmlControls;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using System.Xml.Linq;using System
阅读全文
posted @
2013-03-19 03:01
松竹梅
阅读(917)
推荐(1) 编辑
文件操作类
摘要:FileHelper.csView Code /** 1. 功能:文件操作类**/#region 引用命名空间using System;using System.Collections.Generic;using System.Text;using System.IO;#endregionnamespace CommonUtilities{ /// <summary> /// 文件操作类 /// </summary> public class FileHelper { #region 检测指定目录是否存在 /// <summary> ...
阅读全文
posted @
2013-03-19 01:48
松竹梅
阅读(211)
推荐(0) 编辑
用于验证的公共类
摘要:RegexHelper.csView Code /** 1. 功能:操作正则表达式的公共类**/#region 引用命名空间using System;using System.Collections.Generic;using System.Text;using System.Text.RegularExpressions;#endregionnamespace Comm{ /// <summary> /// 操作正则表达式的公共类 /// </summary> public class RegexHelper { #region 验证输入的...
阅读全文
posted @
2013-03-19 01:22
松竹梅
阅读(564)
推荐(0) 编辑
执行命令方法的封装(添加/修改/删除)
摘要:SqlDb.csView Code using System;using System.Data;using System.Configuration;using System.Linq;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.HtmlControls;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using System.Xml.Linq;using System.Da
阅读全文
posted @
2013-03-19 00:44
松竹梅
阅读(561)
推荐(0) 编辑