Group: Forum Members
Posts: 533,
Visits: 2K
|
Hi,
I am using DevExpress ASPxGridView to bind to SFUsersBO. When I delete record from ASPxGridView, it only "logical" delete record from BO. I need to call BO.Save() in order to commit changes to database.
I hit error "currentRowIndex is out of range" when I call SFUsersBO.Save(). I found that is logic in SFUsersBO.BeforeSave() to log the user changes via CurrentRow property. This cause the error.
How should I resolve it?
Note: error would occurred if BO only has one record. If that is more than 1 records, the change log would recorded wrongly.
Thank you
|