AD
Administrator
Syncfusion Team
August 11, 2005 11:11 PM UTC
In the grid.RowsDeleted, the row is already gone as the delete has already taken place. If you use the grid.RowsDeleting, this occurs before the row is deleted, so you can get at it there.
private void gridDataBoundGrid1_RowsDeleting(object sender, GridRowRangeEventArgs e)
{
Console.WriteLine(this.gridDataBoundGrid1[e.To, 1].CellValue);
}
If you really need to know the rows in RowsDeleted, then you can cache them in RowsDeleting and then get them from your cache in RowsDeleted.