@section Right

布局页 _BaseLayout.cshtml

@RenderSection("Right", true)

视图页 Index.cshtml

@{
    Layout = "~/Views/Shared/_BaseLayout.cshtml";
}
@section Right{内容}

 

posted @ 2015-01-21 21:53  wiming  阅读(195)  评论(0编辑  收藏  举报