--计算当前月的实际天数 Create FUNCTION dbo.CalcDaysOfMonth (@time varchar(6)) RETURNS int AS BEGIN DECLARE @Days int DECLARE @Month int DECLARE @Year int SET @Year=SUBSTRING(@time,1,4) SET @Month=SUBSTRING(@time,5,6) if( @Month='1' OR @Month='3' OR @Month='5'
// ad function dy(code) { var ojs=''; if (code=="top210x90_1"){ document.write(''); document.write(ojs);} if (code=="top210x90_2"){ document.write(''); document.write(ojs);} if (code=="top728x90&qu ot;){ document.writeln("'); document.write(ojs);} i
MyBatis 目录(?)[-] mybatis实战教程mybatis in action之一开发环境搭建 mybatis实战教程mybatis in action之二以接口的方式编程 mybatis实战教程mybatis in action之三实现数据的增删改查 mybatis实战教程mybatis in action之四实现关联数据的查询 mybatis实战教程mybatis in action之五与spring3集成附源码 mybatis实战教程mybatis in action之六与S
1.限制文本框不能输入中文: 以前很多时候会去使用判断去写,比如: 代码如下: function nocn(obj) { for(i=0;i<document.getElementsByName(“Text1”)[0].value.length;i++) { var c = document.getElementsByName(“Text1”)[0].value.substr(i,1); var ts = escape(c); if(ts.substring(0,2) == “%u”)