Đang chuẩn bị liên kết để tải về tài liệu:
Crystal Reports For Visual Studio 2005 phần 8

Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ

Nhiệm vụ thông minh tính năng tạo ra mã liên kết với báo cáo kiểm soát CrystalReportViewer. Trong suốt hướng dẫn này, bạn có thể xem trước các báo cáo theo ba cách: Trong các thiết kế nhúng Crystal Reports, với các nút Preview mới trong Crystal Reports cho Visual Studio 2005. Trong Windows Form, với dữ liệu giả. | Walkthroughs 10. From the Properties window Set the ID to display Set the Text to Display Report 11. From the File menu click Save All. To create and configure a DropDownList Control and Button Control on the Windows Form 1. Open the Windows form. 2. From the View menu click Designer. 3. From the Toolbox drag a ComboBox control to the web form. Place the control above the CrystalReportViewer control. Note If a Smart Task appears on the ComboBox when using Visual Studio 2005 press Esc to close it. 4. Click on the ComboBox control to select it. 5. From the Properties window set the Name to reportsList 6. From the Toolbox drag a Button control to the right of the ComboBox control. 7. Click the Button control to select it. 8. From the Properties window Set the Name to display Set the Text to Display Report 9. From the File menu click Save All. In the next step you write code to automatically populate the DropDownList or ComboBox control. Adding a Helper Method to Access Crystal Reports Web Services In this section you create a helper method that will access a server through Crystal Reports web services and generate a list of reports. Note This procedure requires access to a machine that has been configured to use Crystal Reports web services. Before proceeding please ensure that your machine has been configured correctly. To create a Helper Method to Access Crystal Reports Web Services 1. Open the Web or Windows form. 2. From the View menu click Code. 3. Add three private class level variables. Visual Basic Private myServerFileReport As ServerFileReport Private myReportManagerRequest As ReportManagerRequest Private myServerFileReportManagerProxy As ServerFileReportManagerProxy end C Copyright 2004 Business Objects Page 414 Walkthroughs private ServerFileReport serverFileReport private ReportManagerRequest reportManagerRequest private ServerFileReportManagerProxy serverFileReportManagerProxy end 4. Create a new private helper method that returns an ArrayList. Visual .

TÀI LIỆU LIÊN QUAN