更新数据库中选中的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[^]