AD
Administrator
Syncfusion Team
September 7, 2004 12:09 PM UTC
Not sure what RowUpdate event you are thinking about using.
You could use grid.RowLeave and check grid.Binder.IsEditing to see if there is a change pending. If so, it would likely be easier to get values from your datasource before the change.
int position = grid.Binder.RowIndexToPosition(e.RowIndex);
CurrencyManager cm = (CurrencyManager) grid.BindingContext[grid.DataSource, grid.DataMember];
DataRowView drv = ((DataView)cm.List)[position];
//from drv, you can get fields like drv["Col1"].