Example #1
0
 protected void SociosSt_Disable(object sender, EventArgs e)
 {
     try
     {
         RowSelectionModel sm = SociosGridP.SelectionModel.Primary as RowSelectionModel;
         this.id = sm.SelectedRow.RecordID;
         if (confirm)
         {
             SociosLogic socios = new SociosLogic();
             socios.DeshabilitarSocio(id);
             confirm = false;
         }
         SociosSt_Reload(null, null);
     }
     catch (Exception ex)
     {
         log.Fatal("Error fatal al deshabilitar socio.", ex);
         throw;
     }
 }