1
我有一個DataGridView複選框列。我想在用戶通過單擊更改時立即捕獲複選框的值。我嘗試了幾個事件(CellValueChanged
,CellClicked
,CurrentCellDirtyStateChanged
等),但沒有任何工作。Datagridview複選框列的值
這是我的代碼:
If dgvIDsTBC.CurrentRow.Cells(2).Value = True Then
MsgBox("True")
End If
請幫
爲你做了這個工作嗎? – V4Vendetta 2011-03-17 05:08:14
這很好用!我非常感謝你。 – 2011-03-18 10:14:15