我有一个网格视图,如何在文本区域显示字段“内容”的信息?
@grid.GetHtml( fillEmptyRows: false,
mode: WebGridPagerModes.All,
firstText: "<< First",
previousText: "< previous",
nextText: "Next >",
lastText: "last >>",
columns: new [] {
grid.Column("NameInform", header: "Name"),
.
.
.
.
grid.Column("Content", header: "Content"),
grid.Column(
"",
header: " ",
format: @<text>
@Html.ActionLink("Edit", "ModelosEdit", new { id = item.IdInform })
|
@Html.ActionLink("Delete", "Delete", new { id = item.IdInform })
</text> )})
祝福