I want to temporary blocking datagrid view cell enter event..
In my project after datagrid view cell end edit event , automatically working cell enter event ,, i want to teporary block this ...how?
I use below code, but give error message
"Error 1 'System.Windows.Forms.DataGridView' does not contain a definition of dgvCashforWt_CellEnter"
this. dgvCashforWt.CellEnter -= new System.EventHandler(dgvCashforWt.dgvCashforWt_CellEnter);
Please help me...
Block Event of Datagrid View
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Jiteendra SampathiraoRank #585 · 4.1K reputationPosted Jul 7, 2011, 9:23 PM EDT
refer this: Site
Amit ChoudharyRank #145 · 15.8K reputationPosted Jul 7, 2011, 9:57 PM EDT
You better watch the designer part of your form. You'll find the event dgvCashforWt_CellEnter there remove the line and run the app again.
Thanks.