protected void Excluir_Click(object sender, EventArgs e) { DAL.DALAluno dALAluno = new DAL.DALAluno(); dALAluno.delete(Session["IdAluno"].ToString()); Session.Remove("IdAluno"); Response.Redirect("~/Matricula/WebFormVisualizarAlunos.aspx"); }