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.aceiteTermo = "S"; AlunoBRL brl = new AlunoBRL(); brl.updateAlunoAceiteTermo(dto); } catch (Exception ex) { throw ex; } }