Group: StrataFrame Developers
Posts: 3K,
Visits: 2.5K
|
To add a new row, you can either call Add() or NewRow(). Add() calls NewRow() internally, but also changes the editing state of the business object to Adding, which updates the bound controls. To change a record to Modified, you can call Edit(), or just set one of the field properties, which will change the data within the current row, and the row will automatically change state to Modified. To delete a row, you can call DeleteCurrentRow() when you have the row you want to delete selected. To delete a row that is not in the business object, you can also call DeleteByPrimaryKey() and pass the pk of the record you want to delete.
|