K
kitemad69
private void
getDebOutInvBalDataGridView_CurrentCellDirtyStateChanged(object
sender, EventArgs e)
{
getDebOutInvBalDataGridView.CommitEdit(DataGridViewDataErrorContexts.Commit);
}
I am using this event because i have checkboxes in my datagridview.
This works well for the checkboxes but the problem is when i want to
insert a value into one of the cells using my keyboard eg. 10. The
event commits the 1 then commits the 0 therefore leaving the value in
the cell = to 0. It sets the cell value to 1 then to 0 as you type in
ten.How can i make this event only operate for my textbox column
getDebOutInvBalDataGridView_CurrentCellDirtyStateChanged(object
sender, EventArgs e)
{
getDebOutInvBalDataGridView.CommitEdit(DataGridViewDataErrorContexts.Commit);
}
I am using this event because i have checkboxes in my datagridview.
This works well for the checkboxes but the problem is when i want to
insert a value into one of the cells using my keyboard eg. 10. The
event commits the 1 then commits the 0 therefore leaving the value in
the cell = to 0. It sets the cell value to 1 then to 0 as you type in
ten.How can i make this event only operate for my textbox column