.net mvc视图之间调用的问题

2025-05-19 09:03:03
推荐回答(1个)
回答1:

如果仅有ProdIndex.cshtml页面有@section.Header
则在模板页写成
@RenderSection("Hearder", false)