asp.net mvc的主从 [英] asp.net mvc master detail
问题描述
我要为使用ASP.NET MVC-实体框架订单输入创建一个网页。此页面包含订单和订单项信息。对于每一个订单,我可以有多个订单详细信息。如果你知道如何做到这一点主/从与ASP.NET MVC,实体框架,请让我知道。用户应该能够与一个或多个订单详情进入新的秩序。这应该是一个单一的页面上
I want to create a web page for order entry using ASP.NET MVC- Entity Framework. This page contains Order and Order Entry information. For each Order, I can have multiple Order details. If you know how to do this Master/Detail with ASP.NET MVC-Entity Framework please let me know. The user should be able to enter new order with one or many order detail. this should be on one single page
PLZ可以ü提供一个工作示例
Plz could u provide a working example
推荐答案
您的问题是pretty笼统和模糊,但这里有一个的样本code 和<一个href=\"http://kenneththorman.blogspot.com/2010/12/aspnet-mvc-master-detail-list-view-with.html\">followup你可能会开始播放。如果遇到的一些具体问题实现它不要犹豫,问。
Your question is pretty general and vague but here's a sample code and a followup you may start playing with. If you encounter some specific problems implementing it don't hesitate to ask.
这篇关于asp.net mvc的主从的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!