在mvc4中从gridview保存数据 [英] saving data from gridview in mvc4
本文介绍了在mvc4中从gridview保存数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在mvc4中使用jquery点击保存按钮时将数据从gridview保存到数据库
plz帮我做那个
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
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
推荐答案
尝试
http://aspsolutionkirit.blogspot.in/2013/08/example-of-inline-edit-and-update-in.html [ ^ ]
http://www.webcodeexpert.com /2013/11/aspnet-mvc-application-to.html [ ^ ]
http://aspdotnet-kishore.blogspot.in/2013/10/mvc4-razorhow-to-call-stored-procedure。 html [ ^ ]
Try
http://aspsolutionkirit.blogspot.in/2013/08/example-of-inline-edit-and-update-in.html[^]
http://www.webcodeexpert.com/2013/11/aspnet-mvc-application-to.html[^]
http://aspdotnet-kishore.blogspot.in/2013/10/mvc4-razorhow-to-call-stored-procedure.html[^]
嘿,
请参考以下文章:
在ASP.Net中使用jQuery将数据插入SQL Server
或者您可以从以下MVC中获得想法链接:
使用jQuery 在MVC 5中使用DropDownList
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
这篇关于在mvc4中从gridview保存数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文