摘要:
@model MyMusicStore.Models.Album@{ ViewBag.Title = "Details";}Details Album @Html.DisplayNameFor(mode... 阅读全文
摘要:
@model MyMusicStore.Models.Album@{ ViewBag.Title = "Edit";}Edit@using (Html.BeginForm()){ @Html.AntiForgeryToken() ... 阅读全文
摘要:
@model MyMusicStore.Models.Album@{ ViewBag.Title = "Delete";}DeleteAre you sure you want to delete this? Album ... 阅读全文
摘要:
@model MyMusicStore.Models.Album@{ ViewBag.Title = "Create";}Create@using (Html.BeginForm()) { @Html.AntiForgeryToken() ... 阅读全文
摘要:
@model IEnumerable@{ ViewBag.Title = "Index";}Index @Html.ActionLink("Create New", "Create") @Html.Displa... 阅读全文
摘要:
1 创建MVC应用程序2 在Model里面创建实体类using System;using System.Collections.Generic;using System.Linq;using System.Web;namespace MyMusicStore.Mode... 阅读全文