ASP.NET(vb.net) & CrystalReportPartsViewer - Learn and example script how to use CrystalReportPartsViewer and ASP.NET Web site. This a control bind to and display a Crystal report as a series of linked parts. This greatly reduces the area required to display report information as is ideal for displaying small amounts of report information on a portal Web page.
ShotDev Focus:
- ASP.NET(vb.net) & CrystalReportPartsViewer
Example
Default.aspx
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> <%@ Register assembly="CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" namespace="CrystalDecisions.Web" tagprefix="CR" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>ShotDev.Com Tutorial</title> </head> <body> <form id="form1" runat="server"> <div> <CR:CrystalReportViewer ID="CrystalReportPartsViewer1" runat="server" AutoDataBind="True" Height="1106px" ReportSourceID="CReportSource1" Width="876px" /> <CR:CrystalReportSource ID="CReportSource1" runat="server"> <Report FileName="CReport1.rpt"> </Report> </CR:CrystalReportSource> </div> </form> </body> </html>
Default.aspx.vb
Partial Class _Default Inherits System.Web.UI.Page End Class
Screenshot
2rochester…
…