摘要: PHP的安装以及在IIS的配置:http://php.net/manual/zh/install.windows.iis7.php要设置文件夹的访问权限:http://serverfault.com/questions/38222/iis-7-5-windows-7-http-error-401-3-unauthorized 阅读全文
posted @ 2014-01-27 10:30 JeanGe 阅读(138) 评论(0) 推荐(0) 编辑
摘要: http://www.asp.net/mvc/tutorials/mvc-4/getting-started-with-aspnet-mvc4/intro-to-aspnet-mvc-4Done 阅读全文
posted @ 2013-11-04 17:28 JeanGe 阅读(200) 评论(0) 推荐(0) 编辑
摘要: http://docs.python.org/3/tutorial/Done 阅读全文
posted @ 2013-11-04 17:21 JeanGe 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 事件1:页面->母版页->控件->子控件(Page_XXXX和OnXXXX同时发生)事件2:页面->母版页->控件->子控件... 阅读全文
posted @ 2013-10-25 15:40 JeanGe 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 假如一个页面名是index.aspx后台类名叫是Default网站运行时真正的页面处理程序的类是index_aspx,而不是定义的Default,index_aspx继承Default,可以通过@page的ClassName属性指定生成的类名,生成的类在ASP目录下,不知道这样做的意义是什么?index_aspx里多了3个私有变量大致看了下:__fileDependencies,所有包含的控件,包括控件的子控件。__initialized,true__PageInspector_SetTraceDataMethod,完全没看懂。关于dll,bin目录下的dll只会包含Default类,在C:\ 阅读全文
posted @ 2013-06-06 15:07 JeanGe 阅读(269) 评论(0) 推荐(0) 编辑
摘要: 区别:委托可以直接被外部调用,而事件不可以。委托可以用=,而事件不可以。相同点:委托和事件都可以用+=,-=来添加和删除方法。委托和事件都可以有返回值,取最后一个方法的返回值。using System;namespace ConsoleApplication27{ class Program ... 阅读全文
posted @ 2013-06-01 14:43 JeanGe 阅读(202) 评论(1) 推荐(1) 编辑
摘要: using System;using System.Reflection;using System.Web;namespace WebApplication5{ public partial class WebForm1 : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { HttpRuntime hr = new HttpRuntime(); DisplayValues(hr); } ... 阅读全文
posted @ 2013-05-30 16:44 JeanGe 阅读(301) 评论(0) 推荐(0) 编辑
摘要: static object CreateWorkerAppDomainWithHost(string virtualPath, string physicalPath, Type hostType) { string uniqueAppString = string.Concat(virtualPath, physicalPath).ToLowerInvariant(); string appId = (uniqueAppString.GetHashCode()).ToString("x", CultureInfo.In... 阅读全文
posted @ 2013-05-30 11:15 JeanGe 阅读(182) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.IO;using System.Linq;using System.Web;using System.Web.Hosting;using System.Web.UI;using System.Web.UI.WebControls;namespace WebApplication3{ public partial class WebForm1 : System.Web.UI.Page { protected void Page_Load(object s... 阅读全文
posted @ 2013-05-29 17:41 JeanGe 阅读(237) 评论(0) 推荐(0) 编辑
摘要: <html><head></head><body><div id="div1"></div></html>var a = document.createElement("Script");a.type = "text/javascript";a.innerText="alert(1);";var b= document.getElementById("div1");b.insertBefore(a); 阅读全文
posted @ 2013-05-29 11:00 JeanGe 阅读(95) 评论(0) 推荐(0) 编辑