
web
蜉蝣撼天
这个作者很懒,什么都没留下…
展开
-
iphone、ipod Touch、ipad触屏时的js事件
1、Touch事件简介pc上的web页面鼠 标会产生onmousedown、onmouseup、onmouseout、onmouseover、onmousemove的事件,但是在移动终端如 iphone、ipod Touch、ipad上的web页面触屏时会产生ontouchstart、ontouchmove、ontouchend、ontouchcancel 事件,分别对应了触屏开始、拖转载 2014-07-25 14:30:52 · 1002 阅读 · 0 评论 -
ASP.NET获取客户端IP地址相关方法
因为要在项目中取到客户端IP,在网上搜了下相关资料,其中有一篇文章总结的比较详细,这里就把一些我用的上总结一下方便以后查阅. 通常我们都通过下面的代码获得IP: string ip =System.Web.HttpContext.Current.Request.UserHostAddress; 或 string ip =System.Web.HttpConte转载 2014-08-08 14:59:46 · 802 阅读 · 0 评论 -
基础知识 -- 问答
01.Main函数是什么?在程序中使用Main函数有什么需要注意的地方?Q:程序的入口函数!函数名字不能改变;一个程序中有且只有一个Main函数。02.CLR是什么?程序集是什么?当运行一个程序集的时候,CLR做了什么事情?Q:Common Language RunTime 公共语言运行时。 编译后代码的集合。(包括exe和dll)。 加载项目里所有的类到内存,并找到其转载 2015-07-03 21:10:38 · 4337 阅读 · 0 评论 -
ASP.NET 页面请求超时时间设置 Server.ScriptTimeout executionTimeout
ASP.NET 页面请求超时时间(页面后台程序执行时间)默认值为 110 秒(在 .NET Framework 1.0 版和 1.1 版中,默认值为 90 秒)即: Server.ScriptTimeout = 110(HttpServerUtility.ScriptTimeout = 110) System.Web.Configuration.HttpRunti原创 2016-09-27 17:21:40 · 8365 阅读 · 0 评论