问题
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 could u provide a working example
回答1:
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.
回答2:
I have blogged about creating master detail form using asp.net mvc. it contains sample code to download
回答3:
Sample master detain project with MVC 3 and EF
来源:https://stackoverflow.com/questions/4593277/asp-net-mvc-master-detail