Eugenio,
>When I set ImmediateDelete to false (I don't rows immediately deleted from the database), the application reports the error:
>
> "Deleted row information cannot be accessed through the row."
If you set this property to false, your DataTables may contain deleted rows. If you try to access information in these rows you will receive this exception.
To avoid this exception, first check if a row's RowState property is set to Deleted before trying to access values in that row.
For example, in C#:
if (this.DataRow.RowState != DataRowState.Deleted)
{
}
And in VB .NET:
If Me.DataRow.RowState <> DataRowState.Deleted Then
End If
Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com