上一页 1 ··· 7 8 9 10 11 12 13 14 15 16 下一页
  2006年11月17日
摘要: 程序中使用事务,处理无外键关系的表与表间的操作Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> //创建事务连接对象 SqlConnection myConn = new Sq... 阅读全文
posted @ 2006-11-17 16:53 Gary.han 阅读(420) 评论(0) 推荐(0)
  2006年11月3日
摘要: 如何使用:MagicAjaxCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->MagicAjax 的引言及如何配置MagicAjax(.NET Framework 1.1)2006-10-10 15:12在web2.0热炒的年代,Ajax成了一种潮流... 阅读全文
posted @ 2006-11-03 13:06 Gary.han 阅读(391) 评论(0) 推荐(0)
  2006年10月31日
摘要: 点击记录则选中,并可交替颜色Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> protected void DataGrid_ItemDataBound(object sender, System.Web.UI.WebControls.D... 阅读全文
posted @ 2006-10-31 16:29 Gary.han 阅读(372) 评论(0) 推荐(0)
摘要: 使用游标收缩数据库日志文件: 游标调整数据库属性并收缩数据库Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->Use masterGODECLARE @DBName varchar(200)DECLARE @ConStrLen int--定义一个游标DE... 阅读全文
posted @ 2006-10-31 09:27 Gary.han 阅读(257) 评论(0) 推荐(0)
  2006年10月9日
摘要: http://blog.xj163.cn/blog.php?do=showone&tid=571 阅读全文
posted @ 2006-10-09 18:13 Gary.han 阅读(456) 评论(0) 推荐(0)
  2006年9月28日
摘要: 引用命名空间:using System.DirectoryServices;要实例的对象:private Aspcn.Management.IISManager IISMan; 获取虚拟目录的物理路径Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->//... 阅读全文
posted @ 2006-09-28 16:45 Gary.han 阅读(282) 评论(0) 推荐(0)
  2006年9月26日
摘要: private bool IsValidEmail(string strIn) { return Regex.IsMatch(strIn, @"^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$"); ... 阅读全文
posted @ 2006-09-26 15:32 Gary.han 阅读(1078) 评论(3) 推荐(0)
  2006年9月14日
摘要: 阅读全文
posted @ 2006-09-14 12:40 Gary.han 阅读(1931) 评论(0) 推荐(0)
  2006年9月7日
摘要: 关闭自增长列添加记录,然后再恢复自增长功能 SET IDENTITY_INSERT 表名 ONinsert into 表名(字段,字段,字段) values (64,'han','guo')SET IDENTITY_INSERT 表名OFF 阅读全文
posted @ 2006-09-07 17:25 Gary.han 阅读(6041) 评论(1) 推荐(0)
  2006年9月1日
摘要: 激活已经启动的程序Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> // 用于激活已打开的窗体 [DllImport("user32.dll")] public static extern void SetFo... 阅读全文
posted @ 2006-09-01 13:09 Gary.han 阅读(334) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 14 15 16 下一页