Abdu Rafeeq

Abdu Rafeeq

  • NA
  • 113
  • 264.4k

Block Event of Datagrid View

Jul 8 2011 1:01 AM

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...

Answers (2)