日志文章列表

2007年07月25日 19:42:10

多选按钮解决方案

function checkform()
{
var len=window.document.form1.checkbox.length;
for(i=0;i<len;i++)
{
var bai=window.document.form1.checkbox.checked;
if(bai)
{
return true;..

阅读全文>>

类别: 无分类 |  评论(0) |  浏览(5649) |  收藏
2007年07月22日 15:58:55

SqlServer中查询数据库表的列名

INFORMATION_SCHEMA.COLUMNS 视图以 sysobjects、spt_data type_info、systypes、syscolumns、syscomments、sysconfigures 以及 syscharsets 系统表为基础
select * from information_schema.columns where table_..

阅读全文>>

类别: jsp技术 |  评论(0) |  浏览(6906) |  收藏
2007年07月16日 20:22:42

餐卡数据同步流程图


呵呵 今天在李姐的要求下画了一个餐卡消费的数据同步流程图,不知道合不合要求..........
[attachment=23130]

阅读全文>>

Tags: 流程图  

类别: jsp技术 |  评论(0) |  浏览(8762) |  收藏
2007年07月08日 19:04:34

sql记事本

1、CAST(chushengriqi as datetime)   强制数据类型转换
3、(DATEDIFF(day,CAST(indatetime as datetime),getdate())/365) 计算年(满一年为1)
4、得到当前年year(getdate())
8、触发器
INSTEAD OF
执行..

阅读全文>>

Tags: sql语法  

类别: jsp技术 |  评论(0) |  浏览(8326) |  收藏
2007年07月08日 19:02:04

java中的时间操作二

1、java中时间操作http://www.jspcn.net/htmlnews/11453848658591251.html
Date date=new Date();
java.text.SimpleDateFormat ft = new java.text.SimpleDateFormat("yyyy-mm-dd");
ft.format(date)..

阅读全文>>

Tags: 时间java  

类别: 无分类 |  评论(0) |  浏览(8399) |  收藏
2007年07月08日 18:58:10

常用js

1、操作frames框架:window.parent.document.frames.mainFrame.window.location.href="dsads.jsp";
2、setTimeout("clockon()",1000)   固定时间执行
3、function invalues(sid,sname) &..

阅读全文>>

Tags: js  

类别: 无分类 |  评论(0) |  浏览(7432) |  收藏