MVC3引用了Layout页的View页面会有
@{ViewBag.Title = "Test";Layout = "~/Views/Shared/_Layout.cshtml";}
Layout = "~/Views/Shared/_Layout.cshtml";这一行删除后,访问该view仍会引用该布局.
请问这是为什么?
还有就是引用了Layout的view怎么加自己的<style type="text/css"></style>??
温温酱
相关分类