private void DeleteItem() { // Obtener los IDs de la fila seleccionada string GESOId = grdData.DataKeys[grdData.SelectedRowIndex][0].ToString(); // Delete the item OperationResult objOperationResult = new OperationResult(); _oOrganizationBL.DeleteGroupOccupation(ref objOperationResult, GESOId, ((ClientSession)Session["objClientSession"]).GetAsList()); }