ColumnChanged Event and GetChanges

W

WineNCheese

I have a ColumnChanged event in a business object for a datatable that is
bound to a grid. While in the columnchanged event, the HasChanges() method
for the dataset returns false, and GetChanges on the datatable returns
nothing, even though there are changes. In the RowChanged event handler,
HasChanges returns true and GetChanges returns the expected results. If I
cannot use these mechanisms in the ColumnChanged event handler, how can I
get the original values for the column that was changed? The row parameter
to the ColumnChanged event returns the new value, which is equal to the
proposed value parameter, so I am confused. Also, why does the
documentation state that the event is called AFTER the change has been made.
I would think that this would mean that HasChanges should return true.

Am I doing something wrong? Or ???

Thanx,

WNC
 

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

Top