如何在windows窗体中修改datagridview中的复选框? [英] How tocheck a checkbox in datagridview in windows form?

查看:83
本文介绍了如何在windows窗体中修改datagridview中的复选框?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,



我正在开发一个应用程序,我有一个包含多列的DataGridView。

每列包含CheckBoxes 。我想做的是如果我从第1行的第1列检查一个复选框,那么应该自动检查第1行但第2列的复选框。

给我解决方案

Hello there,

I am working on an application where I have a DataGridView with multiple columns.
Each column is containing CheckBoxes. I want to do is If I check a checkbox from 1st column of 1st row then checkbox of 1st row but of second column should get checked automatically.
Give me the solution

推荐答案

尝试检查以下链接:

http:// stackoverflow.com/questions/2885391/datagridview-checkbox-events [ ^ ]



http://stackoverflow.com/questions/932040/triggering-a-checkbox-value-changed-event-in-datagridview-c-net [< a href =http://stackoverflow.com/questions/932040/triggering-a-checkbox-value-changed-event-in-datagridview-c-nettarget =_ blanktitle =New Window> ^ ]



http://stackoverflow.com/questions/11843488/datagridview-checkbox-event [ ^ ]
try checking below links:
http://stackoverflow.com/questions/2885391/datagridview-checkbox-events[^]

http://stackoverflow.com/questions/932040/triggering-a-checkbox-value-changed-event-in-datagridview-c-net[^]

http://stackoverflow.com/questions/11843488/datagridview-checkbox-event[^]


这篇关于如何在windows窗体中修改datagridview中的复选框?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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