Click here to Skip to main content
16,004,678 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I want to save data from gridview to database when click on save button using jquery in mvc4

plz help me to do that

SQL
what i mean is

i have a gridview with columns name and address. i enter some name and address. assume i entered 3 rowss in the gridview. i want to save these three rows to database on SAVE button click
Posted
Updated 1-Apr-14 19:58pm
v2

 
Share this answer
 
Comments
Kunjammu 2-Apr-14 1:57am    
what i mean is

i have a gridview with columns name and address. i enter some name and address. assume i entered 3 rowss in the gridview. i want to save these three rows to database on SAVE button click
Hey,

Please refer to the following article:

Insert Data Into SQL Server Using jQuery in ASP.Net

or you can get the idea to do it in the MVC from the following link:

Working With DropDownList in MVC 5 Using jQuery
 
Share this answer
 
v2
Comments
Kunjammu 7-Apr-14 1:19am    
i want to do it in mvc
Nimit Joshi 7-Apr-14 6:48am    
updated my answer....

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900