1
Answer

Dynamic Table in MVC 4 Razor

Alok Uniyal

Alok Uniyal

10y
1.8k
1
Hello All,
 
I am new in ASP.net MVC .  I am working on dynamic table creation and save its data. There are two links in my page, one is to add row in table and one is to remove row from table.  I work a lot on  this problem. As i read many articles on net i fond two solutions for it.
1> First i use html input text boxes inside table and add / remove row by jquery. I successfully done this task. But i can't save table data into database.
2> Second i use a partial view and on add link click i append partial view into mu html table. This task also successfully done. Data is also saving but it is taking first row of my table created by partial view. 
Please suggest me any solution , how to create a dynamic table and save its data into database.
 
Thank you,
Alok Uniyal 
Answers (1)