我有一个 GridView,如何在 TextArea 中显示“内容”字段的信息?
@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> )})
祝福