4
Reply

Suppose I have 150 controls on my View. Now I would like to store this data into database on submit button. Then tell me how many ways (types) I can store this data. ?

Rupesh Kahane

Rupesh Kahane

8y
1.3k
0
Reply

    I Think submit can cause TimeOut Exception so we can use AJAX ,After each success trigger other save method and so on...

    instead of one by one you can post the form if you using AJAX.

    Please put the all controls in form tag while posting the you just string fy the before the the model names of the all controls should be match with entity.

    Like Entity framework, normal ADO.NET, Javascript, Ajax, @Html.BrginForm, Post method. Also tell me other ways