IT
摘要: 设字段为 uniqueidentifier 显示为32位的二进制的编码;好处是当几个系统进行整和时id不会发生冲突;8-4-4-4-12组合; public static Agent CreateAgent(Agent agent) { IConnection cnn = ConnectionManager.GetConnection(); cnn.Open(); ITra... 阅读全文
posted @ 2007-11-20 18:09 liufei 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 打开注册表编辑器,在HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager中找到PendingFileRenameOperations项目,并删除它。这样就可以清除安装暂挂项目。 阅读全文
posted @ 2007-11-19 10:09 liufei 阅读(578) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/wayne-ivan/category/55467.html 阅读全文
posted @ 2007-11-15 13:41 liufei 阅读(98) 评论(0) 推荐(0) 编辑
摘要: GridView无代码分页排序 GridView选中,编辑,取消,删除 GridView正反双向排序 GridView和下拉菜单DropDownList结合 GridView和CheckBox结合 鼠标移到GridView某一行时改变该行的背景色方法一 鼠标移到GridView某一行时改变该行的背景色方法二 GridView实现删除时弹出确认对话框 GridView实现自动编号 GridView实... 阅读全文
posted @ 2007-11-15 13:27 liufei 阅读(635) 评论(1) 推荐(0) 编辑
摘要: var checkFlag = true; function ChooseAll() { //if( !document.all("CheckAll").Checked ) // 全选 if( checkFlag ) // 全选 { var inputs = document.all.tags("INPUT"); ... 阅读全文
posted @ 2007-11-15 13:19 liufei 阅读(254) 评论(0) 推荐(0) 编辑
摘要: delete ad from ad AS a ,(select top 1 id from ad) AS b where a.id =b.id 阅读全文
posted @ 2007-11-15 13:17 liufei 阅读(547) 评论(0) 推荐(0) 编辑
摘要: http://www.flashempire.com/theater/play.php?id=46986 阅读全文
posted @ 2007-11-15 13:13 liufei 阅读(145) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/xiaobaigang/archive/2007/09/24/904513.html private string GetString(string data, string FindStr, string EndStr) { Match m = Regex.Match(data, "(?:" + ReplaceChar(Fin... 阅读全文
posted @ 2007-11-15 13:06 liufei 阅读(237) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/xiaobaigang/archive/2007/10/31/944769.html using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; u... 阅读全文
posted @ 2007-11-15 09:12 liufei 阅读(3066) 评论(0) 推荐(1) 编辑
摘要: http://www.buywork.cn/biancheng/database/sql/20071111/10840.html 查询速度慢的原因很多,常见如下几种: 1、没有索引或者没有用到索引(这是查询慢最常见的问题,是程序设计的缺陷) 2、I/O吞吐量小,形成了瓶颈效应。 3、没有创建计算列导致查询不优化。 4、内存不足 5、网络速度慢 ... 阅读全文
posted @ 2007-11-14 22:01 liufei 阅读(324) 评论(0) 推荐(0) 编辑