Original: ActiveReports Report application Tutorial (1)---Hello activereports
Before we get started on the topic, let's look at what the ActiveReports is: ActiveReports is a global application of a very wide range of report controls to provide. NET reports all the report design features that are required to be ahead of similar reporting controls, including strong support for interactive reports, rich data visualization, seamless integration with Visual Studio, and Wpf/winform/asp.net/ Multi-platform support for Silverlight and Windows Azure. With the ActiveReports report control, you can create commonly used subreports , cross-reports , grouped reports , column reports , master-Slave reports , and other business reports. You can also create data analysis reports that have the ability to interact with data filtering , data filtering , data drilling , and reporting interoperability , and visualize the data in a way that quickly adds powerful reporting capabilities to your application.
For many Chinese ActiveReports report control users, the first contact with the product may be the ActiveReports 1.0 Japanese version, because the ActiveReports product is the most commonly used report control in a Japanese project for Report feature development. With the recent development of ActiveReports for nearly 20 years, the latest version of ActiveReports is activereports 9, which has built-in support for Chinese, English and Japanese interfaces. At the same time, this version supports WinForms, ASP, ASP, Silverlight, WPF, and the Windows Azure platform.
The main purpose of the ActiveReports Report Application tutorial is to show you how to accomplish the requirements of various reporting systems through activereports in the application system. The main presentation of reporting requirements is divided into the following types:
1. General report
Inventory Class Report
Icon Class Report
Column report
Grouped reports
Cross-Report
Set Dozen reports
2. Interactive reports
Dynamic filtering
Dynamic sorting
Drill Down
Through drilling
Report annotations
Document Directory
3. Embedding third-party controls
The ActiveReports controls are perfectly integrated with Visual Studio, giving us more flexible and easy-to-use report customization and custom control embedding support, and in addition to using the ActiveReports built-in controls in your reports, you can add any third-party. NET to your report. Control to meet your needs for more report expansion capabilities.
4. Visualization of data
In addition to providing a chart control, the ActiveReports report provides rich data visualization controls such as waveform graphs, data bars, and icons. This example demonstrates nesting in a tabular control using a waveform control to display monthly sales detail trends, and using data bar controls and graphical controls to display the completion of the annual sales performance.
5. Report Skin Settings
In ActiveReports, you can set styles for different controls in the report, and then save those styles to an external XML file for use by other reports. If users want the same report to be distributed in an unused form, simply modify the style sheet without changing the font, color, size, and so on for individual controls in each report individually.
6. Report Export
ActiveReports supports report export in a variety of formats, including PDF, Excel, Word, RTF, HTML, Text, TIFF, and other picture formats that users can apply to applications such as Windows Forms or Web.
Hello ActiveReports
Before you begin to apply the tutorial content to the ActiveReports report, let's look at how to use the ActiveReports report control in Visual Studio.
First step: Install activereports 9 Report control
: http://www.gcpowertools.com.cn/products/activereports_overview.htm
Note: ActiveReports 9 supports VS2008, VS2010 and VS2012, and VS2013 development tools.
Step Two: Add the ActiveReports 9 report template to Visual Studio
ActiveReports supports WinForms, ASP, ASP, Silverlight, WPF, and Windows Azure platforms
, we have chosen to demonstrate the use of ActiveReports 7 in an ASP.
Open VS2010 and create a project of the ASP. NET application type, right-click on the project file and select Add –> new Item, in the Add New Item dialog box that appears, select the Visual C # node under installed templates, and you can see ActiveReports 7 related Project templates, such as:
Once added, we can see the following results in VS2010:
In the report design interface, there are three areas: 1.pageHeader, the general presentation of the report title and other content; 2.detail, the main content of the report; 3.pageFooter, footer. Add a TextBox control from the VS2010 Toolbox to the PageHeader area in the report design interface, and set the TextBox control's Text property to Hello ActiveReports.
Step Three: Add the Webviewer control provided by ActiveReports to the ASPX page to display the ActiveReports report, and after adding the Webviewer control, you can see the Web. config file adding ActiveReports related configuration information. View the ReportName property of the Webviewer control, and select Activereports_sample_001.sectionreport1 from the down list.
Fourth Step: Run the program through the F5 key, the result is as follows:
Description: ActiveReports built-in cross-browser support, the above is the result of running in IE browser, you can also run the ActiveReports report control in Chrome, FireFox, Opera browser.
Source: http://www.gcpowertools.com.cn/products/activereports_demo.htm
ActiveReports Report Application Tutorial (1)---Hello activereports