Imports CrystalDecisions.CrystalReports.Engine
Imports CrystalDecisions.Shared
Imports CrystalDecisions.CrystalReports.ViewerObjectModel
Imports CrystalDecisions.ReportSource
Imports System.Data
Imports System.Data.SqlClient
Imports System.Web
Imports CrystalDecisions
Partial Class PSMT_StockGetReport
Inherits System.Web.UI.Page
Dim rpt As New ReportDocument
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim maingroup_, subgroup1_, subgroup2_, subgroup3_, subgroup4_, warehouse_, location_, rpt_name As String
Dim maingroup_2, subgroup1_2, subgroup2_2, subgroup3_2, subgroup4_2, warehouse_2, location_2 As String
CrystalReportViewer1.ReportSource = rpt
CrystalReportViewer1.DisplayGroupTree = False
rpt.Refresh()
End Sub
Protected Sub Page_Unload(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Unload
rpt.Close()
End Sub
End Class