标签: model-view-controller
@foreach(Model.SubjectSubscriptions中的var sub) {
@Html.DisplayFor( m => sub.Subjects.Name) }
我必须在每个名字后面加一个空格或逗号
答案 0 :(得分:0)
@foreach (var sub in Model.SubjectSubscriptions) { sub.Subjects.Name += ", "; ... }