摘要: (1)@Html.DisplayNameFor(model => model.Title)是显示列名,(2)@Html.DisplayFor(modelItem=> item.Title)是显示列的内容(3)@Html.ActionLink("CreateNew", "Create")是超链接,跳转到model中的create页面,引用的是controller中create方法;(4)@Html.ActionLink("Edit", "Edit", new { id=item.ID })编辑页面;(5) 阅读全文
posted @ 2013-11-21 11:51 ``炯`` 阅读(8200) 评论(1) 推荐(1) 编辑