Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
使用 Crystal Reports 13 我可以得到一个呈现的报告来显示;但是,我无法以编程方式从控件中获取呈现页面的数量。
我试过了:
reportViewer.ViewerCore.GetLastPageNumber reportViewer.ViewerCore.TotalPageNumber report.AfterFormatPage += new FormatPageEventHandler(report_AfterFormatPage);
没有成功。建议?
报表渲染完成后:
我如何知道 Crystal Reports 已完成渲染?
只需致电:
reportViewer.ViewerCore.GetLastPageNumber();