
废话不多说了,直接给大家贴代码了。
Model:
namespace MvcApplication1.Models
{
public class Team
{
public string Preletter { get; set; }
public string Name { get; set; }
}
}
通过jQuery异步加载部分视图
Home/Index.cshtml视图中:
@{
ViewBag.Title = “Index”;
Layout = “~/Views/Shared/_Layout.cshtml”;
}
© 版权声明
文章版权归作者所有,未经允许请勿转载。
相关文章
暂无评论...