protected void lbNuevo_Click(object sender, EventArgs e)
        {
            try
            {
                lblError.Visible = false;
                Entity           = new Comision();
                Entity.State     = BusinessEntity.States.New;



                Entity = com.GetOne(SelectedID);
                if (Entity != null)
                {
                    al.IDAlumno   = Convert.ToInt32(Session["idPersona"]);
                    al.IDComision = Entity.ID;
                    alumnos.Insert(al);
                    //gridView.visible = false;
                    lbaceptar.Visible = false;
                    //Panel2.visible = true;
                    lblCom.Visible = true;
                }
            }
            catch (Exception) { lblError.Visible = true; lblCom.Visible = false; }
        }
 public override void GuardarCambios()
 {
     this.MapearADatos();
     alogic.Insert(al);
     this.Close();
 }