tags:

views:

41

answers:

2

I am new at MVC asp .net.

I have a grid in which I am adding rows.

Now I want to perform mulitple rows insertion in a table at once. How can I do that. SO multiple rows will be added in MVC.

Any help would be appericiated.

A: 

You want to learn how to ModelBind to a Collection. There are many answers here already for this technique.

http://stackoverflow.com/search?q=model+binding+to+a+collection

http://haacked.com/archive/2008/10/23/model-binding-to-a-list.aspx

jfar
A: 

Hello,

In one transaction how can I insert multiple rows in a database table in mvc asp.net

Thanks

Aayushi