Mark Tabor

Mark Tabor

  • 586
  • 2k
  • 461.9k

Multiple razor view on one view

Dec 17 2017 9:13 AM
I have an application for talior record managment , in that i have two seperate tables one for shirt and one for pant , both tables have customer id as foreign key coming from customer table ,Now i want to have one view in which i have these two form one for saving shirt measurement and one for saving pant measurement both on same page i am new to mvc , what i am already using i am just creating a model by binding it with database table like shirt and then i am creating controller with read write action from entity framework  i am not writing a single line of code so it automatically generate views , this is good for one view but what if below that i need another grid to save pant measurement records , some guys says use partial views for that but how to use when i create partial view i need to write whole code by meslef i mean i need to write controller actions for each like for add delete edit and details.
 
Thanks in advance  

Answers (1)