asp.net-mvc – 为什么ASP.NET MVC 4与IList for editor不能正确编写索引表示法?

asp.net-mvc – 为什么ASP.NET MVC 4与IList for editor不能正确编写索引表示法?

我有一个奇怪的情况,在我的编辑器模板中引用’模型会产生格式错误的索引’名称’字段: 编辑 @model IListBillingRateItem@for (int i = 0;i this.Model.Count(); i++){ @Html.HiddenFor(m = this.Model[i].BillingRateItemID)} 产生的隐藏字段包括索引之前的

联系我们

联系我们

0577-28828765

在线咨询: QQ交谈

邮箱: xwei067@foxmail.com

工作时间:周一至周五,9:00-17:30,节假日休息

返回顶部