ASP MVC 3 Two Models in One View
问题 I am working on creating a datagrid in ASP MVC 3 where I have two tables in one view. Each table is being used from its own Model. Therefore, I would have to call two Models into one View which does not seem as simple as I wish it was. I am pretty new to MVC and I was looking through Stack and found this link: Two models in one view in ASP MVC 3 Which seems to be the direction that i would want to go... I think. Here is the code for my first model: [Table] public class Model1 { [Column