CurrentCellDirtyStateChanged event를 처리해야만 CellValueChanged event를 받을수 있었습니다.
1 2 3 4 5 6 7 8 9 10 11 12 | /// <summary> /// /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void dataGridView_LineData_CurrentCellDirtyStateChanged(object sender, EventArgs e) { if (dataGridView_LineData.IsCurrentCellDirty) { dataGridView_LineData.CommitEdit(DataGridViewDataErrorContexts.Commit); } } | cs |
댓글
댓글 쓰기