Windows应用程序的网格视图中的复选框 [英] check boxes in grid view in windows application

查看:62
本文介绍了Windows应用程序的网格视图中的复选框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hai朋友.我是Windows应用程序的新手.我正在尝试在Windows应用程序的网格视图中添加复选框.我成功了,但是我的问题是,我想在网格视图中获取复选框的ID(仅选中的ID).我不知道该怎么做.请任何人向我建议如何解决我的问题.


谢谢..

hai friends . i am fresher of windows applications.i am trying to add check boxes in grid views in windows applications. i succeed but but what my problem is,i want to get ids of check boxes in grid view (only checked ids). i don''t know how to do it. plz any one suggest to me how to solve my problem.


thank you..

推荐答案

,您可以循环抛出每个DataGridViewRow并找到该复选框,看看是否已选中...
you can loop throw every DataGridViewRow and find the checkbox and see if it checked...


这篇关于Windows应用程序的网格视图中的复选框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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