【发布时间】:2013-06-28 16:14:46
【问题描述】:
我正在尝试为我的项目呈现数据集合。
来源:
控制器中的数据绑定运行得很好,但我无法在View 中渲染模型,这是从Controller 返回的。
我收到这样的错误:
the name 'model' does not exist in the current context
我不明白为什么?我收到这样的错误,因为另一个视图的另一个模型渲染效果很好,但不是这个。
谁能解释一下,出现我的问题的原因是什么?
谢谢
【问题讨论】:
标签: c# asp.net-mvc-4 view model rendering