MVC基架生成的 Details视图
@model MyMusicStore.Models.Album
@{
ViewBag.Title = "Details";
}
<h2>Details</h2>
<div>
<h4>Album</h4>
<hr />
<dl class="dl-horizontal">
<dt>
@Html.DisplayNameFor(model => model.Artist.Name)
</dt>
<dd>
@Html.DisplayFor(model => model.Artist.Name)
</dd>
<dt>
@Html.DisplayNameFor(model => model.Genre.Name)
</dt>
<dd>
@Html.DisplayFor(model => model.Genre.Name)
</dd>
<dt>
@Html.DisplayNameFor(model => model.Title)
</dt>
<dd>
@Html.DisplayFor(model => model.Title)
</dd>
<dt>
@Html.DisplayNameFor(model => model.Price)
</dt>
<dd>
@Html.DisplayFor(model => model.Price)
</dd>
<dt>
@Html.DisplayNameFor(model => model.AlbumArtUrl)
</dt>
<dd>
@Html.DisplayFor(model => model.AlbumArtUrl)
</dd>
</dl>
</div>
<p>
@Html.ActionLink("Edit", "Edit", new { id = Model.AlbumId }) |
@Html.ActionLink("Back to List", "Index")
</p>
最新文章
- Centos下MySQL主从同步配置
- MonoDevelop编辑器中文乱码解决
- kernel update 2.6.18-2.6.38
- gerrit 解决中文乱码相关配置(转载)
- Extjs treePanel 后台Json的两种构建方法
- Java内部接口的调用方式
- Sereja and Coat Rack(水)
- openwrt 3g模块上网
- POJ 3630 Phone List Trie题解
- 在打包程序中自动安装SQL Server数据库 .
- android之相机开发
- debian9 配置数据库
- jmeter笔记(1)--原理,下载与安装
- 资源贴&mdash;&mdash;以备时时查询用
- vue中组件通信之子父通信
- ajax用户名存在检测
- 【three.js练习程序】拖动选中的物体
- vue之介绍
- Oracle数据迁移之rman活动数据库复制
- thymeleaf和easyui配合可能出现的错误
热门文章
- printk()函数的总结
- AE创建拓扑
- warning C4996: 'fopen': This function or variable may be unsafe.(_CRT_SECURE_NO_WARNINGS)
- Redis的常识
- Java NIO(6)----NIO与IO
- cxf maven 依赖 No message body writer foud.. contenttype:application/json
- Java实现多文件压缩打包的方法
- Android 升级下载 它们的定义Updates 兼容版本
- vue 百度地图
- WPF 使用 SharpDX 在 D3DImage 显示