摘要: VSS团队开发环境配置 安装好Vss后,在visual studio 2005里工具——选项——源代码管理——插件选择,不然visual studio 2005的文件菜单下,不会显示源代码管理。Vss默认登录账户更改:新建系统环境变量,变量名ssuser,变量值,你的Vss登录名。1. 服务器端配置(1)新建文件夹 在磁盘上新... 阅读全文
posted @ 2010-08-20 09:25 oneroom 阅读(601) 评论(0) 推荐(1) 编辑
摘要: function addEventHandler(oTarget, sEventType, fnHandler) {if (oTarget.addEventListener) { oTarget.addEventListener(sEventType, fnHandler, false);//firefox} else if (oTarget.attachEvent) { oTarget.atta... 阅读全文
posted @ 2010-08-06 16:49 oneroom 阅读(283) 评论(0) 推荐(0) 编辑
摘要: 转自 西红柿不是番茄Lazy Definition Pattern是这样的一个模式:根据浏览器之间的解析javascript的差异性,使得创建封装的对象或者是函数的时候都需要使用浏览器的嗅探技术来做判断,而且对象或者方法每调用一次就需要去嗅探,这是一个非常不好的额外功。而解决这个瓶颈的方法之一就是Lazy Definition了。它会在浏览器第一次执行该对象或者函数的时候就记住这次的操作,以至于下... 阅读全文
posted @ 2010-07-30 14:19 oneroom 阅读(345) 评论(0) 推荐(1) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2010-05-12 10:38 oneroom 阅读(30) 评论(0) 推荐(0) 编辑
摘要: protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e){if (e.Row.RowType == DataControlRowType.DataRow){e.Row.Cells[5].Attributes.Add("onclick", "return confirm('你确认要编辑吗?')");}}方... 阅读全文
posted @ 2010-04-19 09:53 oneroom 阅读(2626) 评论(0) 推荐(0) 编辑
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1publicclassUrlHandler:IHttpHandler2{3//指明该HttpHandler的实现类是否需要缓存4publicboolIsReusable5{6get{returntr... 阅读全文
posted @ 2010-04-01 23:16 oneroom 阅读(221) 评论(0) 推荐(0) 编辑
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--classBubbleSort{publicintcount=0;publicvoidSort(int[]arr){inti,j,temp;booldone=true;j=1;while((j<... 阅读全文
posted @ 2010-03-19 10:12 oneroom 阅读(286) 评论(0) 推荐(0) 编辑
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--usingSystem;usingSystem.Collections.Generic;usingSystem.Text;namespaceDelegates_and_Events_in_CSharp... 阅读全文
posted @ 2010-03-17 10:55 oneroom 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--using System;using System.Collections.Generic;using System.Text;namespace myinte... 阅读全文
posted @ 2010-03-17 10:32 oneroom 阅读(462) 评论(0) 推荐(0) 编辑
摘要: template.html代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1... 阅读全文
posted @ 2010-03-12 16:35 oneroom 阅读(323) 评论(0) 推荐(0) 编辑
让别人快乐是慈悲,让自己快乐是智慧!