0
Answer

How to post data dynamically added by user in asp.net mvc 4

Ask a question

Hi friends,

I have to implement Create/Edit functionality using model dialog in ASP.NET MVC 4 with Entity Framework database first approach as per given below image:

 
I have gone through the following article on net while searching solution for this.
 
 
Its very much similar what i want but the only difference is that in my case Emp name and Emp code is static but a user can add rows dynamically at client side in Field 1 , Field 2 , and Comments section so in this case how to save data( dynamically added by user ) into database.

Do I have to do use json/ajax approach or something else you suggest.

Thanks