CRUD Views For Many-Many Relationship, Checkboxes

后端 未结 1 1119
不知归路
不知归路 2021-02-10 23:30

I am having a hard time trying to figure out what I need to do to get this to work. I\'m learning ASP.NET MVC CodeFirst with EF. If I make a model I can simply add a controller

相关标签:
1条回答
  • 2021-02-11 00:19

    For an example of using check boxes in a similar scenario, see Adding Course Assignments to the Instructor Edit Page in this tutorial:

    http://www.asp.net/mvc/tutorials/getting-started-with-ef-using-mvc/updating-related-data-with-the-entity-framework-in-an-asp-net-mvc-application

    0 讨论(0)
提交回复
热议问题