答案:以前用日期作为字符串时,我这么写: string sDate = DateTime.Now.Year.ToString() + DateTime.Now.Month.ToString() + DateTime.Now.Day.ToString() + DateTime.Now.Hour.ToString() + DateTime.Now.Minute.ToString() + DateTime.Now.Second.ToString() 其实,只要下面一句就可以了 ^o^
上一个:在ASP.Net中实现flv视频转换的代码下一个:asp.net jscript 一句话木马