MVC加载分布页的三种方式

           第一种:

@Html.Partial("_分部页")

           第二种:

@{

Html.RenderPartial("分部页");

}

           第三种:

@{

Html.RenderAction("action", "控制器");

}

上一篇:(sqlite3.OperationalError) no such table: users [SQL: 'SELECT users.id AS users_id, users.email AS users_email, users.username AS users_username, users.role_id AS users_role_id, users.password_hash A


下一篇:C语言实现鼠标绘图