Home Forums WinForms controls Xceed Grid for WinForms AddingDataRow event with combination of un-/bound grid Reply To: AddingDataRow event with combination of un-/bound grid

User (Old forums)
Member
Post count: 23064

In the AddingDataRow, you need to use the e.DataRow to read or write to the row currently loading :
e.DataRow.Cells[ x ].Value = “something”;
For accessing the source (dataset) of the current row, do it through the SourceObject :
e.DataRow.SourceObject
which would be equivalent to the DataRowView in your case.

Imported from legacy forums. Posted by André (had 339 views)