Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Giảm dự án luật của Windows Setup với Crystal Reports Nhiệm vụ thông minh Trong hướng dẫn này, bạn tìm hiểu làm thế nào để tuân theo một mô hình phát triển mã giảm để thiết lập một dự án Windows, sử dụng Nhiệm vụ thông minh. | Walkthroughs Reduced-Code Windows Project Setup with Crystal Reports Using Smart Tasks In this tutorial you learn how to follow a reduced-code development model to set up a Windows project using Smart Tasks. Introduction In this tutorial you learn how to create a Windows project in Crystal Reports for Visual Studio 2005. You then add a CrystalReportViewer control to the Windows Form. From the Smart Task panel you open the embedded Crystal Reports Designer and create a new report. The Smart Tasks feature generates code that binds the report to the CrystalReportViewer control. Throughout this tutorial you can preview the report three ways In the embedded Crystal Reports Designer with the new Preview button in Crystal Reports for Visual Studio 2005. In the Windows Form with dummy data. Note This preview of the Windows Form is a new feature called the Design Time Preview. For more information see Appendix Design Time Preview. At runtime when you build and compile the application. At the end of this tutorial you switch to code view to see how the reduced-code development model functions in Crystal Reports for Visual Studio 2005. Creating a Windows Project with a CrystalReportViewer Control Before you create a Windows Project verify that Crystal Reports for Visual Studio 2005 has been installed on your system. To set up a reduced-code Windows project in Crystal Reports for Visual Studio 2005 1. Launch Visual Studio 2005. 2. From the File menu select New and then click Project. 3. In the New Project dialog box select a language folder for C or Visual Basic from the Project Types list. 4. From the Templates list click Windows Application. 5. In the Name field replace the default project name with the name of your project. 6. Click OK. Your project opens in Solution Explorer and contains a Form1 class. 7. Open the Form1 class. 8. From the Toolbox open the Crystal Reports node to locate the CrystalReportViewer control. 9. Drag the CrystalReportViewer control onto the Windows