05 2015 档案

摘要:2个办法 @{ int hour = item.track / 3600; int min = (item.track - hour * 3600) / 60; int sen = item.track - hour * 3600 - min * 60; ... 阅读全文
posted @ 2015-05-26 18:23 You最温暖的港湾 阅读(6172) 评论(0) 推荐(2) 编辑
摘要:[OutputCache(Duration =3600, VaryByParam = "*",Location=OutputCacheLocation.Server)] public ActionResult Index() { Response.Cache.SetOmitV... 阅读全文
posted @ 2015-05-20 10:48 You最温暖的港湾 阅读(149) 评论(0) 推荐(0) 编辑
摘要:1、AcceptVerbs规定页面的访问形式,如 [AcceptVerbs(HttpVerbs.Post)] public ActionResult Example(){ return View(); }页面只能以Post形... 阅读全文
posted @ 2015-05-06 17:46 You最温暖的港湾 阅读(377) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示