The text of this article is not in this database — only its details are. The old site it was published on is gone, but the Internet Archive kept a copy: Master Detail CRUD Operations Using ASP.Net MVC 3 And Entity Framework
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment
It is the same account you read, post and publish with — and you will come straight back to this page.

phoo htooPosted Jun 21, 2018, 1:49 PM
I can't update sales data. An error occurred while updating the entries. See the inner exception for details. error is showed. :(
Felix MathPosted May 16, 2013, 3:45 AM
when I add file upload control the HttpPostedFileBase always return null.
Isman SubarkahPosted Apr 29, 2013, 5:25 AM
Good explaining sir, thank you very much
Md Hamidul IslamPosted Feb 17, 2013, 7:39 AM
Hi,when I click the Add button the site doesn't response for a single time. Then I tried to fix my problem by setting breakpoint. But when I click on Add button there is no response. So I failed to reach the code for fix my problem. Can anybody suggest me about the problem or any other good link for creating Master Detail data entry form by asp.net MVC.
saravana kumareditedPosted Sep 26, 2012, 2:59 AMEdited Sep 26, 2012, 3:08 AM
Hi, i too get the same error what Noypi Koa said, can you please give the suggestion, Thanks InAdvance
Noypi KoaPosted Sep 20, 2012, 3:41 PM
Great post! However, I couldn't get it to work. After downloading the project and modifying the Web.config file so it would point to our SQL Server, it gives the following error: WebDev.WebServer40.exe - Assertion failed. Expression: primitiveType != null Description: Assertion failed: primitiveType != null It throws the error on line 16 of SalesController.cs private MasterDetailContext db = new MasterDetailContext(); My connection string is as follows: <connectionStrings> <add name="MasterDetailContext" connectionString="Data Source=OURSERVER\OURSQLINSTANCE;Initial Catalog=MasterDetail;user id=test_user;password=test_pass" providerName="System.Data.SqlClient" /> </connectionStrings> What am I missing? Thanks.
Luiz LorenaPosted Apr 10, 2012, 7:35 PM
but, i like how to get this done using PartialView and minimizing the use of JavaScript ? Luiz
clement rajPosted Nov 16, 2011, 7:37 AM
good work thank u
manoj prabakaranPosted Sep 1, 2011, 4:52 AM
ya its really helpful one
Dinesh BeniwalPosted Jul 19, 2011, 5:13 AM
Very helpful article, thanks for sharing