Example #1
0
        protected void SociosSt_Enable(object sender, EventArgs e)
        {

            try
            {
                RowSelectionModel sm = SociosGridP.SelectionModel.Primary as RowSelectionModel;
                string id = sm.SelectedRow.RecordID;
                if (confirm)
                {
                    SociosLogic socios = new SociosLogic();
                    socios.HabilitarSocio(id);
                    confirm = false;
                }
                SociosSt_Reload(null, null);
            }
            catch (Exception ex)
            {
                log.Fatal("Error fatal al habilitar socio.", ex);
                throw;
            }
         }