摘要: 1、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... 阅读全文
posted @ 2007-01-13 16:18 huazi4995 阅读(281) 评论(1) 推荐(0) 编辑
摘要: //得到url的参数的值function getQueryString(queryStringName){ var returnValue=""; var URLString=new String(document.location); var serachLocation=-1; var queryStringLength=queryStringName.length; do { serach... 阅读全文
posted @ 2007-01-13 15:09 huazi4995 阅读(626) 评论(0) 推荐(0) 编辑
摘要: //动态的创建一个层 var str = document.createElement("div"); //创建的元素str.id = "Layer"; //设置元素的IDstr.style.position = "absolute";var sss=str.style.setAttribute;sss("left",300); //左边位置sss("top... 阅读全文
posted @ 2007-01-13 15:07 huazi4995 阅读(697) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using Microsoft.Offic... 阅读全文
posted @ 2007-01-13 15:03 huazi4995 阅读(336) 评论(0) 推荐(0) 编辑