Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The advantages and result description of VB.NET Crystal report

2025-01-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article mainly explains the advantages and result description of VB.NET Crystal report. Interested friends may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn the advantages and result description of VB.NET Crystal report.

The VB.NET Crystal report has the following main advantages:

Rapid report Development of ◆

◆ can be exported into complex interactive diagrams

◆ can be used in WebForm with other controls

◆ can dynamically export reports to .pdf, .doc, xls,html,rtf and other formats.

VB.NET Crystal report structure

Some components make up the two-tier structure of Crystal report, and the required Web applications are:

Client: the client only needs a browser that can access reports on embedded aspx pages.

Server

Crystal report engine Crystal Report Engine (CREngine.dll)

Through it, you can accomplish some tasks, such as merging data in report files, converting reports to other formats, and so on. It is precisely because of the role of the report engine that the crystal report in ASP.NET can be converted into ordinary HTML format.

Crystal report designer (Crystal Report Designer (CRDesigner.dll))

Crystal reports are created in the designer, where you can design titles, insert data, formulas, charts, subreports, and so on.

.rpt report file

The step in executing the report is to create the report in the VB.NET Crystal report designer interface, and Microsoft has provided some off-the-shelf .rpt examples in the default installation.

Data Source

The way the .rpt file gets the database depends on your choice of method. You can choose to let the Crystal report choose the data without using any code, or you can choose to manually assemble the DataSet and then transfer it to the report file.

Crystal report View Control (Crystal Report Viewer web form Control (CRWebFormViewer.dll))

Crystal report View Control is a WebForm control that can be thought of as a container for storing reports in .aspx pages. Note: in some complex operations, the report server may not be on the same physical host as the Web server, and the Web server sends HTTP requests to the report server. Crystal reports can also be executed as WebService.

Execution mode

VB.NET Crystal report data can be obtained using the following methods.

Pull mode

When requested, the Crystal report connects to the database directly according to the specified driver and assembles the data.

Push mode

At this point, the publisher has to write his own code to connect the data and assemble the DataSet, and send it to the report at the same time. In some cases, report performance can be used by using connection sharing and limiting the size of the record collection.

Report type

The VB.NET Crystal report designer can include reports directly into projects or use separate report objects.

Strongly-typed report: when you add a report file to a project, it becomes a "strongly-typed" report. In these cases, you will have the right to create report objects directly, which will reduce some code and provide some performance.

Un-Typed report: the report here is not directly included in the project, so it is called the 'un-typed' report. In this case, you have to create an instance using the Crystal report's "ReportDocuemt" object, and use the report "manually".

Other considerations

Although the VB.NET Crystal report Viewer has some cool features, such as zooming, page navigation, etc. But it does not provide printing function, you have to call the browser's print function.

At this point, I believe you have a deeper understanding of "the advantages and result description of VB.NET Crystal report". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report