I noticed that you did this in the grid_TableControlCurrentCellValidating event. Would the datasource be updated at this point or should I use the grid_TableControlCurrentCellValidated event?
>I would probably try working with the datasource directly. Here is some code from a KB that gets at the DataRow.
>
>private void grid_TableControlCurrentCellValidating(object sender, GridTableControlCancelEventArgs e)
>{
> int row = e.TableControl.CurrentCell.RowIndex;
> Element el = e.TableControl.Table.DisplayElements[row];
> Record r = el.ParentRecord;
> int dataRowPos = e.TableControl.Table.UnsortedRecords.IndexOf(r);
> DataRow dr = parentTable.Rows[dataRowPos];
> Console.WriteLine(dr[0].ToString() + dr[1].ToString() + dr[2].ToString());
>}
>