摘要:
msg = @"" + msg;MessageBox.RegisterScript("alert('" + msg + "');"); 阅读全文
posted @ 2011-01-14 20:25
awp110
阅读(169)
评论(0)
推荐(0)
摘要:
entity.WordDate =(System.DateTime)dr["WordDate"];//值是9999-12-31 23:59:59 DateTime.MaxValueif(entity.WordDate ==DateTime.MaxValue)//false{}貌似ToDateTime方法只能转换精确到秒的时间字符串,毫秒级的时间字符串系统抛出异常,说没有匹配的转换格式。if(entity.WordDate.ToShortDateString() ==DateTime.MaxValue.ToShortDateString() )//false{} 阅读全文
posted @ 2011-01-14 10:24
awp110
阅读(229)
评论(0)
推荐(0)

浙公网安备 33010602011771号