摘要:
protected void Application_Start() { AreaRegistration.RegisterAllAreas(); FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters); RouteConfig.RegisterRoutes(RouteTable.Routes); BundleConfig.RegisterBundles(BundleTable.Bundles); log4ne... 阅读全文
摘要:
... 阅读全文
摘要:
原来的一篇文章,今天用 WLW 转到页面上,原文章以及附件下载地址:http://zhq.ahau.edu.cn/blog/article.asp?id=366http://www.cnblogs.com/wenanry/archive/2008/07/04/1235198.htmlhttp://logging.apache.org/log4net/release/config-examples.html--------------------------------------------------------------------------------log4net为Apache 的 阅读全文
摘要:
你可以通过使用下列方法指定的格式或模板的模型属性:将DisplayFormat属性应用到模型中的属性。例如,以下代码会导致要没有时间显示的日期:[DisplayFormat(DataFormatString="{0:d}")] //[DisplayFormat(DataFormatString = "{0:yyyy-MM-dd}", ApplyFormatInEditMode = true)]public DateTime ReleaseDate{get;set;}通过将DataType属性应用到模型中的属性和指定数据类型。例如,以下代码会导致要没有时间 阅读全文