Hi Zzdfc, your best bet is to handle the EntityDataSource's OnDeleting event e.g:
protected void GridDataSource_Deleting(object sender, EntityDataSourceChangingEventArgs e)
{
var entity = e.Entity;
}
You can get the actual entity from e.Entity and then do what ever you want before letting the EDS finish the delete.
Steve

Always seeking an elegant solution.
[Oh! If olny I colud tpye!]
c# Bits blogOh, and don't forget to mark as answer any posts that help you
