Imports CrystalDecisions.CrystalReports.Engine
Imports CrystalDecisions.Enterprise
Imports CrystalDecisions.Web
Imports CrystalDecisions.Shared
Partial Class _Default
Inherits System.Web.UI.Page
Protected Sub displayBtn_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles displayBtn.Click
Dim rpt As New ReportDocument
rpt.Load("E:\Users\dev\Documents\Visual Studio 2008\WebSites\report\CrystalReport.rpt")
CrystalReportViewer1.ReportSource = rpt
CrystalReportViewer1.RefreshReport()
End Sub
End Class
Imports CrystalDecisions.Enterprise
Imports CrystalDecisions.Web
Imports CrystalDecisions.Shared
Partial Class _Default
Inherits System.Web.UI.Page
Protected Sub displayBtn_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles displayBtn.Click
Dim rpt As New ReportDocument
rpt.Load("E:\Users\dev\Documents\Visual Studio 2008\WebSites\report\CrystalReport.rpt")
CrystalReportViewer1.ReportSource = rpt
CrystalReportViewer1.RefreshReport()
End Sub
End Class
0 comments: