CurrentCellChanged

  • Thread starter Thread starter J
  • Start date Start date
J

J

Hi, all
I am working on a windows application which need to write to a log file if any
user changed the current cell's data. I am using CurrentCellChanged property to
monitor this situation. But I found this property raised if user just moved from
cell to cell even they did not change anything in the cell. I can not figured
this one out.

Any one have similar problem before or any suggestion?

thanks in advance.
 
The DataTable the grid is bound to has changed events that provide
information about when the data is changed: ColumnChanged,
RowChanged, and RowDeleted.

Use these events instead. The grid's CurrentCellChanged event is used
to tell when the "CurrentCell" property of the grid changes--i.e.,
when the focus moves to a different cell. It's not related to changes
in the content of the grid.

HTH,

Sam


Hi, all
I am working on a windows application which need to write to a log file if any
user changed the current cell's data. I am using CurrentCellChanged property to
monitor this situation. But I found this property raised if user just moved from
cell to cell even they did not change anything in the cell. I can not figured
this one out.

Any one have similar problem before or any suggestion?

thanks in advance.

B-Line is now hiring one Washington D.C. area VB.NET
developer for WinForms + WebServices position.
Seaking mid to senior level developer. For
information or to apply e-mail resume to
sam_blinex_com.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top