在GridView上,每行更新都会通知用户有关更新状态的信息 [英] On GridView each row update notify User about update status

查看:63
本文介绍了在GridView上,每行更新都会通知用户有关更新状态的信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我用示例解释我的要求.

假设GridView绑定了10条记录.在gridview的每一行中都有一个复选框.假设我选择了五个记录(我选中了五个复选框).我需要更新数据库中选择的五个记录.

当我更新第一条记录时,我需要在其他gridview中显示更新的记录.
紧急.请让我去做.

注意:-更新"按钮在gridview之外.


谢谢

Asif

Hi,

I explain my requirement with example.

Suppose GridView bind with 10 records. In each row in gridview have checkbox.Suppose i selected five record (i checked five checkbox).I need to update selected five records in database.

When I update first record I need to show updated record in other gridview.
its urgent.please let me how to do it.

Note:-Update button is outside of gridview.


Thanks

Asif

推荐答案

以下文章应为您提供一个思路.

http://www.aspsnippets. com/Articles/Transfer-Selected-Rows-from-oneGridView-to-Another-in-Asp.net.aspx [ http://csharpdotnetfreak.blogspot.com/2009/05/edit-multiple- records-gridview-checkbox.html [ ^ ]
The below articles should give you an idea.

http://www.aspsnippets.com/Articles/Transfer-Selected-Rows-from-one-GridView-to-Another-in-Asp.net.aspx[^]
http://csharpdotnetfreak.blogspot.com/2009/05/edit-multiple-records-gridview-checkbox.html[^]


您可以使用以下linq:-
http://www.aspsnippets. com/Articles/Transfer-Selected-Rows-from-oneGridView-to-Another-in-Asp.net.aspx [
you can used the following linq :-
http://www.aspsnippets.com/Articles/Transfer-Selected-Rows-from-one-GridView-to-Another-in-Asp.net.aspx[^]


这篇关于在GridView上,每行更新都会通知用户有关更新状态的信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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