Perform all Curd Operations in two tables data using MVC

Posted by Mandlaa under ASP.NET MVC on 9/2/2013 | Points: 10 | Views : 2202 | Status : [Member] | Replies : 3
I want to perform all curd operations in two tables data using MVC,
Can you give me examples on this
For example EMP,DEPT tables




Responses

Posted by: Allemahesh on: 9/2/2013 [Member] [MVP] Silver | Points: 25

Up
0
Down
You can see the below links that will give all the nessary exaples to learn the MVC with curd operations.

http://www.asp.net/mvc/tutorials
http://www.codeproject.com/Articles/620197/Learning-MVC-Part-2-Creating-MVC-Application-and-P
http://www.codeproject.com/Articles/640302/CRUD-Operations-Using-Entity-Framework-5-0-Code-Fi
http://www.asp.net/mvc/tutorials/getting-started-with-ef-using-mvc
http://www.youtube.com/watch?v=53SjZumVTKM

Happy coding.

Mandlaa, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Satyapriyanayak on: 9/2/2013 [Member] [MVP] Silver | Points: 25

Up
0
Down
http://www.codeproject.com/Articles/640302/CRUD-Operations-Using-Entity-Framework-5-0-Code-Fi

If this post helps you mark it as answer
Thanks

Mandlaa, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Bandi on: 9/2/2013 [Member] [MVP] Platinum | Points: 25

Up
0
Down
refer the following link...
http://www.dotnetfunda.com/articles/article2340-crud-operation-using-web-api-and-mvc4.aspx
Tweet the same for two tables (master and child tables)
For Insert,  data has to be insert to master and then to child

For Update, same as above
For DELETE , we should delete first child data and then master
For select/Read, we should join both tables


Mark This Response as Answer
--
Chandu
http://www.dotnetfunda.com/images/dnfmvp.gif

Mandlaa, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response