依次找到工具箱(ToolBox)-数据(Data)-报表查看器(ReportViewer),并把它拖到Form1上。这会创建一个名为reportViewer1新的实例。
基于34个网页-相关网页
I decided to extend the ReportViewer code that I wrote earlier and change the ReportPath property whenever the user selects a report and clicks the Go button.
我决定扩展我早期编写的ReportViewer代码并且只要用户选择某个报表并点击“Go”按钮就更改reportpath属性。
Con: the report with 96 dpi BackgroundImage would be displayed correctly in ReportViewer, but when printing or exporting to PDF, the quality would be very poor.
弊:以96 dpi分辨率的图片为背景的报表在ReportViewer里应该能正确显示,但在打印或输出为PDF时,质量应该会很差。
The out-of-the-box ReportViewer functionality was also customized so that the correctly processed image is chosen in different scenarios, such as browsing and printing.
ReportViewer默认就定制有此功能,可以在不同场景中选择正确处理的图像,如在浏览时和打印时。
应用推荐