将datagridview中选定的行的单元格值发送到复选框 [英] Send cell value of a row selected in datagridview to checklistbox

查看:119
本文介绍了将datagridview中选定的行的单元格值发送到复选框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将单元格中的值发送到复选框,但是当我选中复选框为空时,有人知道如何提供帮助吗?
代码是

I''m trying to send the values in the cell to a checklistbox, but when I check the checklistbox its empty, do anyone know how to help?
The code is

Ops.checkedListBox1.Items.Add(this.CustOrdersDGV.CurrentRow.Cells[10].Value);



我尝试过的事情:



What I have tried:

Ops.checkedListBox1.Items.Add(this.CustOrdersDGV.CurrentRow.Cells[10].Value);

推荐答案

这与会员13765884-专业资料 [
This is the same question as Send data from database cell to checklisttbox[^], posted by Member 13765884 - Professional Profile[^] . If that is you with a different account then please remove the duplicate account.


这篇关于将datagridview中选定的行的单元格值发送到复选框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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