protected virtual void OnRowEditing (GridViewEditEventArgs e)
{
if (Events != null) {
GridViewEditEventHandler eh = (GridViewEditEventHandler) Events [RowEditingEvent];
if (eh != null) {
eh (this, e);
return;
}
}
if (!IsBoundUsingDataSourceID)
throw new HttpException (String.Format ("The GridView '{0}' fired event RowEditing which wasn't handled.", ID));
}