manikandan r

manikandan r

  • NA
  • 358
  • 0

How to Update multiple tables in a single MVC view?

Mar 15 2017 4:31 PM
Hello,
 
I have 3 tables Employee, EmployeeDepartment and EmployeeSalary.
 
All 3 tables are related and presented as a grid values in index.cshtml view.
 
From the index view grid rows i want to edit single employee id(Edit.cshtml) which should post the datas in all the 3 tables. 
 
What could be the best approach for posting this values from view to database?
 
 
 

Answers (13)