need CRUD on datatable MVC5 entity framework
need CRUD on datatable MVC5 entity framework
nvadrevu
Posts: 1Questions: 1Answers: 0
hi all,
i am implementing CRUD functionality using datatable plugin in mvc 5 app using Entity framework. I have the datatable populated with data , i need to add 2 buttons in the table to update and delete records from the db table.
how do i call the controller action method from the view? any direction will be greatly appreciated.
thanks
This discussion has been closed.
Answers
You could use a renderer to add buttons into a column in the table. How you call the controller action, I don't know. You'd need to refer to the MVC5 documentation.
Also, please don't post duplicate posts. I've deleted your other thread on this topic.
Allan