protected void DataGrid_Edit(Object sender, DataGridCommandEventArgs E) { DataGrid1.EditByItemIndex(E.Item.ItemIndex); }