摘要: ajax.open方法中,第3个参数是设同步或者异步。prototype等js类库一般都默认为异步,即设为true。js会等待请求返回,获取status。(此方法的同步或异步方式取决于open方法中的第3个参数此方法将会等待请求完成或者超时时才会返回,如果True,此方法将立即返回。 )不需要onreadystatechange事件处理函数。而异步则需要onreadystatechange事件处理... 阅读全文
posted @ 2010-01-08 09:29 fxh嘟嘟 阅读(1443) 评论(0) 推荐(2) 编辑
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text;usingSystem.Data;using... 阅读全文
posted @ 2010-01-08 09:02 fxh嘟嘟 阅读(2517) 评论(0) 推荐(2) 编辑
摘要: 从今天开始, 好好工作 好好学习 努力就有希望,付出就有回报 阅读全文
posted @ 2010-01-08 08:47 fxh嘟嘟 阅读(203) 评论(0) 推荐(1) 编辑
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--//访问数据库publicDataTablegettable(Stringsql){SqlConnectionsqlcon=null;try{//得到连接字符串Stringconstr="DataSo... 阅读全文
posted @ 2010-01-08 08:47 fxh嘟嘟 阅读(458) 评论(0) 推荐(0) 编辑
摘要: 1.application对象(全局共享) 应用程序的一个实例第一个被访问的时候就会发生 存储的是对象 发任何东西都可以 (1)访问控制(防止并发用户访问的冲突) Application.lock()上锁 Application.Nulock()解锁 Application_End()关机才执行 World Wide Web Publishing Service() 2.Server对象 Exec... 阅读全文
posted @ 2010-01-08 08:47 fxh嘟嘟 阅读(302) 评论(0) 推荐(0) 编辑
摘要: 对象创建过程: Bird bird=new Bird(); Bird bird 创建的是一个bird类型的引用 而new Bird() 完成的是创建Bird对象,分配内存空间 和初始化操作,然后将这个对象引用赋给bird变量,也就是建立bird变量与Bird对象对象的关联 阅读全文
posted @ 2010-01-08 08:35 fxh嘟嘟 阅读(172) 评论(0) 推荐(1) 编辑
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1.创建链接<BODY><scriptlanguage="JavaScript">varo=document.body;//创建链接functioncreateA(url,te... 阅读全文
posted @ 2010-01-08 08:24 fxh嘟嘟 阅读(753) 评论(0) 推荐(1) 编辑
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--//显示所有权限并勾上该角色的权限publicpartialclassDefault3:System.Web.UI.Page{protectedvoidPage_Load(objectsender,E... 阅读全文
posted @ 2010-01-08 08:20 fxh嘟嘟 阅读(637) 评论(0) 推荐(2) 编辑