如何通过单击按钮将gridview数据插入数据库 [英] How to insert gridview data to database through single button click

查看:110
本文介绍了如何通过单击按钮将gridview数据插入数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在此先感谢..



我有2个按钮,如显示保存

通过 SHOW 按钮单击我将数据发送到gridview。我希望gridview所有行和列都可以编辑,而无需单击任何编辑按钮。之后,我可以根据需要更改列和行中的数据。



我在gridview下面有 SAVE 按钮。当我点击该按钮时,我想在我的数据库表中插入所有行(Gridview编辑和非编辑行)。



我试图在图像中显示它。但是我没有得到如何把图像放在这里。



谢谢&此致,

Praveen。

Thanks in Advance..

I am having 2 buttons like SHOW and SAVE.
Through SHOW button click i am getting the data to gridview. I want that gridview all rows and columns should be editable without clicking any edit button. After that, I can change the data in colums and rows as wish.

I am having SAVE Button below the gridview. when i click that button i want to insert all rows(Gridview edited and non edited rows) in my database table.

I am try to show it in image. but i am not getting how to put image in here.

Thanks & Regards,
Praveen.

推荐答案

您可以像Telerik一样使用第三方网格
You can use 3rd party grid like Telerik


这篇关于如何通过单击按钮将gridview数据插入数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆