更新数据库中选中的gridview行数据的复选框(SQL SERVER) [英] Update checkbox selected gridview row data in database(SQL SERVER)

查看:75
本文介绍了更新数据库中选中的gridview行数据的复选框(SQL SERVER)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人,

我有一个带有Header和Child复选框的gridview,以及一个按钮
在gridview之外.

我需要将所选复选框的gridview行值更新到数据库.
即,我只想获取已选中特定复选框的行值,然后将这些值插入/更新到数据库中的表中.

有人可以建议我吗?

致谢,

Dear All,

I have a gridview with Header and Child checkboxes, and one button
outside the gridview.

I need to update the the gridview row values for the selected checkboxes to the database.
i.e., I just want to get the row values for which the specific checkbox is selected and then insert/update those values to the table in database.

Can any one please suggest me regarding this?

Thanks and Regards,

推荐答案

选中此

http://csharpdotnetfreak.blogspot.com/2009/05/edit-multiple- records-gridview-checkbox.html [ ^ ]

http://bytes.com/topic/asp-net/answers/897226-insert-update-multiple-record-同时通过gridview-asp-net [
Check this

http://csharpdotnetfreak.blogspot.com/2009/05/edit-multiple-records-gridview-checkbox.html[^]

http://bytes.com/topic/asp-net/answers/897226-insert-update-multiple-record-simultaneously-through-gridview-asp-net[^]


请参阅此链接:

http://csharpdotnetfreak.blogspot.com/2009/05/edit-multiple- records-gridview-checkbox.html [ ^ ]
Refer this link:

http://csharpdotnetfreak.blogspot.com/2009/05/edit-multiple-records-gridview-checkbox.html[^]


这篇关于更新数据库中选中的gridview行数据的复选框(SQL SERVER)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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