Use 5 different ways to load crystal reports (Windows Forms)

zhaozj2021-02-16  56

1, code download: http://support.crystaldecisions.com/communitycs/filesandupdates/vbnet_win_simplepreviewReport.exe.asp? Recdnlreq = record & DNLPATH = VBNET_WIN_SIMPLEPREVIEWREPORT.EXE

2, use five types of reports for Viewer.Reportsource:

- Using the Report Name (via the text path) - Use the Report object (via the text path) - use the non-class Report component (via the text path and the ReportDocument ReportDocument1) - use the Report object (by report files that have been added to the project, such as: World Sales report.rpt) - Use strong type Report components () (via REPORTDocument World_sales_report1) Note: Report Components, "Toolbox" -> "Components" -> "ReportDocument"

转载请注明原文地址:https://www.9cbs.com/read-22497.html

New Post(0)