AD
Administrator
Syncfusion Team
April 8, 2005 04:59 PM UTC
You will need to use the CurrencyManager. Otherwise, things like sorting will break your lookups.
int pos = grid.Binder.RowIndexToPosition(rowIndex);
CurrencyManager cm = (CurrencyManager)grid.BindingContext[grid.DataSource, grid.DataMember];
DataView dv = (DataView) cm.List;
DataRowView drv = (DataRowView) cm.List[pos];
// drv["Qty"] = ????