471,310 Members | 1,430 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,310 software developers and data experts.

CurrentCellDirtyStateChanged event(Need help)

private void
getDebOutInvBalDataGridView_CurrentCellDirtyStateC hanged(object
sender, EventArgs e)

getDebOutInvBalDataGridView.CommitEdit(DataGridVie wDataErrorContexts.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
Sep 9 '08 #1
0 1656

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Randi | last post: by
3 posts views Thread by Steve Long | last post: by
reply views Thread by Stephen Cairns | last post: by
6 posts views Thread by Jon | last post: by
reply views Thread by Ray Holiday | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.