|
Partial Class ReportViewer
Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
'No session object
If Session("Select") Is Nothing = True Then
Response.Redirect("Default.aspx")
Exit Sub
End If
Dim sel As New clsSelect
sel = Session("Select")
Dim cr As New clsCRExport
Dim ResponseString As String = ""
Try
'Load the report
ResponseString = cr.CRExportReport(sel)
'Get the error
If ResponseString <> "OK" Then
System.Diagnostics.Debug.Print(ResponseString)
End If
Catch ex As Exception
Response.Redirect("Default.aspx")
End Try
End Sub
End Class
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.