Escolar Documentos
Profissional Documentos
Cultura Documentos
PARKER Design Group, Inc. - Crystal Reports and ASP.NET 2.0 Building a Web Reports Interface
PARKER Design Group, Inc. - Crystal Reports and ASP.NET 2.0 Building a Web Reports Interface
Middle Tier - A single .NET page that can launch any known report on demand.
reportDriver.aspx
DATA ACCESS LAYER (DAL) - Database tables used for application queries and report selection
PARKER Design Group, Inc. - Crystal Reports and ASP.NET 2.0 Building a Web Reports Interface
PARKER Design Group, Inc. - Crystal Reports and ASP.NET 2.0 Building a Web Reports Interface
Report Selection
PARKER Design Group, Inc. - Crystal Reports and ASP.NET 2.0 Building a Web Reports Interface
PARKER Design Group, Inc. - Crystal Reports and ASP.NET 2.0 Building a Web Reports Interface
PARKER Design Group, Inc. - Crystal Reports and ASP.NET 2.0 Building a Web Reports Interface
PARKER Design Group, Inc. - Crystal Reports and ASP.NET 2.0 Building a Web Reports Interface
VB Class (reportDriver.aspx.vb)
Partial Class ReportDriver Inherits System.Web.UI.Page Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Me.CrystalReportSource1.Report.FileName = getReportFileName() End Sub Private Function getReportFileName() Dim dv As System.Data.DataView = SqlDataSource1.Select(DataSourceSelectArguments.Empty) Return "reports/" & dv.Table.Rows(0)("ReportCategory") & "/" & dv.Table.Rows(0)("ReportFile") End Function End Class
PARKER Design Group, Inc. - Crystal Reports and ASP.NET 2.0 Building a Web Reports Interface
Resources
My Contact Info: Charlie Parker PARKER Design Group, Inc. 1101 Pennsylvania Avenue, NW Suite 600 Washington, DC 20004 (202) 756-4980 charlie@homeshowcase.net
PARKER Design Group, Inc. - Crystal Reports and ASP.NET 2.0 Building a Web Reports Interface