我需要在单个视图index.cshtml中显示来自两个表(学生和成绩)的数据。 我有两个部分视图_StudentPartial & _GradePartial都强烈类型。我搜索了一下,所有人都说我应该使用父母模型。所以我在下面创建了一个名为MyViewModels的父模型,但我似乎无法得到它的工作。什么是正确的方法来做到这一点? 我的模型: public class MyBigViewModels
我试图构建一个使用部分视图和显示/ editortemplates和Kendo ui的asp.net mvc 4应用程序。 我有一个特定的页面视图模型一: public class Plant {
public Guid PlantId{ get; set; }
public string Name { get; set; }
public string Descri