TAILIEUCHUNG - Display a Report That was Created

10,2 Hiển thị một báo cáo được tạo ra Bản báo cáo không làm tôi rất nhiều trong thiết kế tốt chế độ. Làm thế nào để đi về xem báo cáo? Kỹ thuật Bạn có thể xem một báo cáo trong một vài cách khác nhau. Bạn có thể xem một báo cáo hoặc sử dụng một Form hay Windows Form một Web | Display a Report That Was Created The report doesn t do me much good in Design mode. How do I go about viewing the report Technique You can review a report in a couple of ways. You can view a report either using a Windows Form or a Web Form. Either way you will also use a control called the Crystal Report Viewer. Introducing the Crystal Report Viewer The Crystal Report Viewer is a control that is available in the Toolbox. It is the last control by default. Crystal Report Viewer does far more than just let you view your document on the form. With the Viewer you can do any of the following View the report on the form. Zoom in and out on the document. Expand and collapse groupings on the document. Print from the Viewer. Export from the Viewer. Move around in the document Search for text within the report. You can see an example of the Crystal Report Viewer on a Windows Form in Figure where the example form from this How-To is displayed. Figure . The Crystal Report Viewer provides the user with several features but most of the features can be disabled if necessary. Sometimes you might not want the user to have all the features that come with the Viewer. The good news is that the Viewer actually has its own object model whereby you can set some of the properties at design time or runtime. The Viewer even has an event model that you can program. You can see the object model for the Windows Form CrystalReportViewer in Figure . Figure . Using the object model displayed here you have almost complete control over the Viewer behavior. Although you can make the Viewer stand on its head using the object model to get started you really only have to set one property the ReportSource. Just as it sounds the ReportSource tells the Viewer which report to display. You can set the ReportSource in a variety of ways. You can set the ReportSource property to the file path and name of a report or you can create what is called a strongly typed report document. .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.