DataGrid Event Problem

  • Thread starter Thread starter mario
  • Start date Start date
M

mario

with WinForm + DataGrid

How do I Catch the event if the text have changed in a specific cell ?

Please Help!!!
 
Mario,

There is no event for this. However, you can use the CurrentCellChanged
event to help you here. Basically, when you move into a new cell, you store
the value of the new cell that you have moved into. Then, when you move out
of the cell, you check the value of the cell that you moved out of against
the value you stored. You can then check to see if they are the same or
not.

Hope this helps.
 
Back
Top