YanoRyuichi.com/
Wiki
Blog
GitHub
Sandbox
開始行:
* Partial View [#la19225e]
*** View/Index.cshtml [#zf72325f]
<html>
<body>
<table>
</table>
@Html.Partial("_Pager", Model.Pager)
</body>
</html>
*** View/Shared/_Pager.cshtml [#l72eaf0e]
@model WebApplication1.Common.Pager
<ul class="pagination">
@foreach (var x in Model.Pages) {
<li>@x</li>
}
</ul>
: ASP.NET MVC入門 第7回 レイアウト/部分ビューでアプリ共...
: Partial View in Razor MVC | http://www.itorian.com/2012...
終了行:
* Partial View [#la19225e]
*** View/Index.cshtml [#zf72325f]
<html>
<body>
<table>
</table>
@Html.Partial("_Pager", Model.Pager)
</body>
</html>
*** View/Shared/_Pager.cshtml [#l72eaf0e]
@model WebApplication1.Common.Pager
<ul class="pagination">
@foreach (var x in Model.Pages) {
<li>@x</li>
}
</ul>
: ASP.NET MVC入門 第7回 レイアウト/部分ビューでアプリ共...
: Partial View in Razor MVC | http://www.itorian.com/2012...
ページ名: