Master Detail Form with ASP.Net 4

<div id="wmd-preview" class="wmd-preview">

Hello everyone. I am doing a learning project in asp.net mvc4 which is inventory system. I have created the master forms using Dependency injection approach which works fine. Now I have a situation where I have to create a master detail form. i.e. Sales
form. e.g. following are my entities for Sale Sales SaleID,SalesDate,SalesPerson
SalesDetail SalesDetailID, SaleID, Product, Qty, Price

From here I don’t have any idea how to follow. I found an article
http://www.c-sharpcorner.com/uploadfile/hasibul2363/master-detail-crud-operations-using-Asp-Net-mvc-3-and-entity-framework/
which I tried to implement this but it didn’t work out for me. What I want is a simple solution without using any third party library.
Is there any way please guide. Thanks in Advance.

</div>

Hi hamadforever,

Thanks for your post.

According to your description,

hamadforever

From here I don’t have any idea how to follow. I found an article
http://www.c-sharpcorner.com/uploadfile/hasibul2363/master-detail-crud-operations-using-Asp-Net-mvc-3-and-entity-framework/
which I tried to implement this but it didn’t work out for me.

What’s the error showing?

Did you try to download the completed code to test.

Best Regards,

Eileen

Leave a Reply