protected void cmdImprimir_Click(object sender, EventArgs e) { try { //HttpCookie Session = Request.Cookies["BEPiDUCB.Site"]; AlunoDTO dto = new AlunoDTO(); dto.idAluno = int.Parse(Session["I"].ToString()); dto.aceiteMaquina = "S"; AlunoBRL brl = new AlunoBRL(); brl.updateAlunoAceiteMaquina(dto); } catch (Exception ex) { throw ex; } }