使用复选框的GridView相关问题 [英] gridview related quesions using checkbox

查看:72
本文介绍了使用复选框的GridView相关问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道用c#中的代码来提取我在一个grideview中检查的所有数据,并想在另一个gridview中以相同的形式显示所选数据.

I want to know that what is the code in c# to take all the data those i checked in one grideview and want to show that selected data in another gridview which is in the same form.

推荐答案

您能否仅遍历网格视图项?

如果是,那么您应该能够询问是否选中了每一行,然后对该数据进行任何操作.

希望对您有帮助
Can''t you just iterate through your grid view items?

If yes, then you should be able to ask if each row is checked then do whatever you want with that data.

Hope it helps


这篇关于使用复选框的GridView相关问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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