摘要:
validate.js//验证是否为空function CheckIsNull(Inform,Inputname,Inputvalue){ var Form=Inform+"."eval("Temp="+Form+Inputname+".value;");if(Temp==""){ alert("提醒您:"+Inputvalue+"不能为空!"); eval(Form+Inputname+".className='RedInput';"); 阅读全文
摘要:
private string[] weekDay = { "星期天", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六" }; date.Text = DateTime.Today.Date.ToString("yyyy年MM月dd日"); int dayofWeek = (int)(DateTime.Now.DayOfWeek); week.Text = weekDay[dayofWeek];另一方法: 阅读全文