会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
阿旭代码之路
天天开心,简单人生,我叫阿旭!
博客园
首页
新随笔
联系
订阅
管理
2012年5月8日
巧用section在cshtml写入layout中写入head信息 ASP.NET MVC
摘要: layout文件中:<head> <meta charset="utf-8" /> <title>@ViewBag.Title</title> <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" /> @RenderSection("head", false) </head> cshtml模板文件
阅读全文
posted @ 2012-05-08 11:04 阿旭^_^
阅读(2660)
评论(0)
推荐(0)
编辑
公告