摘要: 1.静态变量和非静态变量的区别?答:静态变量静态变量使用static修饰符进行声明,在所属累被装载时创建,通过类进行访问。所属类的所有实例的同一静态变量都是同一个值。非静态变量不带有static修饰符声明的变量称作非静态变量,在类被实例化时创建。通过对象进行访问。同一个类的不同实例的同一非静态变量可以是不同的值。 CodeCode highlighting produced by Actipro ... 阅读全文
posted @ 2009-03-09 15:18 Mating_luo 阅读(183) 评论(0) 推荐(0)
摘要: setTimeout (表达式,延时时间)setInterval(表达式,交互时间)延时时间/交互时间是以豪秒为单位的(1000ms=1s)setTimeout 在执行时,是在载入后延迟指定时间后,去执行一次表达式,仅执行一次setInterval 在执行时,它从载入后,每隔指定的时间就执行一次表达式 阅读全文
posted @ 2009-03-09 13:50 Mating_luo 阅读(177) 评论(0) 推荐(0)
摘要: http://blog.csdn.net/qianbo_0423/archive/2006/02/17/601029.aspx概述 手机的短消息实现目前有三种方法: 1.通过移动网关发送短消息,使用该方法不需要附加的硬件,但是需要到电信部门申请网关,比较适用于一些大型的网络通讯公司开发,目前华为,中兴等公司就做的这方面的工作,并且还有相应的开发包供开发人员使用. 2.在电脑上通过GSM... 阅读全文
posted @ 2009-03-04 18:21 Mating_luo 阅读(2821) 评论(0) 推荐(0)
摘要: protected string newid;//新选择的游戏类别id protected string oldnewid;//旧的游戏类别id protected string t_id; protected void Page_Load(object sender, EventArgs e) { st... 阅读全文
posted @ 2009-03-04 14:35 Mating_luo 阅读(159) 评论(0) 推荐(0)
摘要: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->usingSystem;usingSystem.Collections.Generic;usingSystem.Configuration;usingSystem.Security;usingSystem.Security.Cryptography;usingSystem.IO;usingSystem.Text;usingSystem.Collections;usingSystem.Co 阅读全文
posted @ 2009-03-03 13:52 Mating_luo 阅读(252) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2009-02-23 23:34 Mating_luo 阅读(149) 评论(0) 推荐(0)
摘要: http://blog.csdn.net/mt_sea/archive/2007/08/30/1765784.aspx 下表中按顺序列出了页面的执行包括的几个阶段,执行的标志是一些应用程序级的事件和/或受保护并可覆盖的方法。 表 1:ASP.NET 页面生命中的关键事件 阶段 页面事件 可覆盖的方法 页面初始化 Init 加载视图状态 LoadViewState 处理回发数据 ... 阅读全文
posted @ 2009-02-13 18:29 Mating_luo 阅读(99) 评论(0) 推荐(0)
摘要: 无标题文档 阅读全文
posted @ 2009-01-07 16:01 Mating_luo 阅读(2532) 评论(0) 推荐(0)
摘要: a. 一个月的第一天 SELECT DATEADD(mm, DATEDIFF(mm,0,getdate()), 0) b. 本周的星期一 SELECT DATEADD(wk, DATEDIFF(wk,0,getdate()), 0) c. 一年的第一天 SELECT DATEADD(yy, DATEDIFF(yy,0,getdate()), 0) d. 季度的第一天 SELECT DATEADD(... 阅读全文
posted @ 2009-01-06 23:21 Mating_luo 阅读(266) 评论(0) 推荐(0)
摘要: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->select distinct * into #Tmp from dnt_onlinelistdrop table dnt_onlinelistselect * into dnt_onlineli... 阅读全文
posted @ 2008-11-06 23:25 Mating_luo 阅读(106) 评论(0) 推荐(0)