or
Protected Sub Page_Load(sender As Object, e As System.EventArgs) Handles Me.Load 'If Not IsPostBack Then Dim report1 As New PMP2Reports.DocumentsReviewed Dim objSession As Object objSession = Session("subIdx") If Not objSession Is Nothing Then report1.ReportParameters("subIdx").Value = objSession End If ReportViewer1.Report = report1 ReportViewer1.RefreshReport() ' End IfEnd Sub