asp.net core Razor 部门视图Partial Views 用法
1、在/Pages/Shared/目录下创建设视图文件 _top.cshtml
2、在razor页面中进行引用
@await Html.PartialAsync("_top")1、在/Pages/Shared/目录下创建设视图文件 _top.cshtml
2、在razor页面中进行引用
@await Html.PartialAsync("_top")#region 入库 string sql = "...
@page @model xxtsoft.Web.Entry.Pages.Index1Model @{ } <form method="post"...
[IgnoreAntiforgeryToken] public class keywordsModel : PageModel { &n...
public List<SelectListItem> zplx { get; set; } [BindProperty] public...
var dt = _db.SqlQueryable<object>("select * from mszs...
1、/Pages/Components 新建:MyViewComponent.csusing Microsoft.AspNetCore.Mvc; namespace xxts...