在使用MVC的asp.net中,如何在单个页面中绑定两个模型. [英] In asp.net using MVC how to bind in two models in single page.
本文介绍了在使用MVC的asp.net中,如何在单个页面中绑定两个模型.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在使用MVC的asp.net中,如何使用两种模型在单个视图页面中进行绑定.
In asp.net using MVC how to bind in single view page using two models.
Different 2 models bind in single page.
推荐答案
我不完全确定此解决方案是否可行,但是可以尝试吗? MVC4中的嵌套视图 [ ^ ]
I am not entirely sure if this solution will work, but you can try it? Nested Views in MVC4[^]
这篇关于在使用MVC的asp.net中,如何在单个页面中绑定两个模型.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文