将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);