检查datagrid中的bob \ xes [英] check bob\xes in datagrid

查看:70
本文介绍了检查datagrid中的bob \ xes的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的数据网格中,五个列包含复选框,

i想要将值yes存储到数据库中,如果选择了这些列。

帮助我获取值变量。如何从复选框获取值到变量?

in my datagrid,five colums contain check boxes,
i want to store the value "yes" to database if those colums are selected.
help me to get the value to a variable. how toi get values from check box to a variable?

推荐答案

您好



是的,您可以获得价值复选框当你点击目标列时有很多不同的解决方案,请关注链接,如果你不能这样做,请告诉我,我会帮助你;)



http ://social.msdn.microsoft.com/Forums/en-US/winformsdatacontrols/thread/31c7a954-1a85-4c38-9e9f-e157d33faf0b [ ^ ]

http://stackoverflow.com/questions/2128563/get-datagridview-checkbox-cell-value [ ^ ]

http://stackoverflow.com/questions/1237829/datagridview-checkbox-column-value-and-functionality [ ^ ]

你可以通过Event获得:

http://stackoverflow.com/questions/673361/datagridview-checkbox-checked [ ^ ]



最好的问候。
Hi

Yes you can get value of checkbox when you click on the target column with many different solutions please follow of links and if you could not do it tell me I will help you ;)

http://social.msdn.microsoft.com/Forums/en-US/winformsdatacontrols/thread/31c7a954-1a85-4c38-9e9f-e157d33faf0b[^]
http://stackoverflow.com/questions/2128563/get-datagridview-checkbox-cell-value[^]
http://stackoverflow.com/questions/1237829/datagridview-checkbox-column-value-and-functionality[^]
you can get with Event:
http://stackoverflow.com/questions/673361/datagridview-checkbox-checked[^]

Best Regards.


这篇关于检查datagrid中的bob \ xes的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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