摘要: 网页打印按钮的源代码:javascript:window.print(); 可以用css控制 @media print .a {display:block} .b {display:hidden} 好像是这样。把你不想打印的部分class设为b 首先在网页中添加: 然后就可以依次加入功能按钮了: 将这两块东西放到就不会打印这些按钮了。当然要定义no... 阅读全文
posted @ 2008-11-02 11:33 doing_zzh 阅读(298) 评论(0) 推荐(0) 编辑
摘要: DateTime 数字型 System.DateTime currentTime=new System.DateTime(); 1.1 取当前年月日时分秒 currentTime=System.DateTime.Now; 1.2 取当前年 int 年=currentTime.Year; 1.3 取当前月 int 月=currentTime.Month; 1.4 取当前日 int 日=current... 阅读全文
posted @ 2008-11-02 11:30 doing_zzh 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 、DateTime 数字型 System.DateTime currentTime=new System.DateTime(); 1.1 取当前年月日时分秒 currentTime=System.DateTime.Now; 1.2 取当前年 int 年=currentTime.Year; 1.3 取当前月 int 月=currentTime.Month; 1.4 取当前日 int 日=curren... 阅读全文
posted @ 2008-11-02 09:12 doing_zzh 阅读(72) 评论(0) 推荐(0) 编辑