ActiveReports Report Application tutorial (1) --- Hello ActiveReports, activereports

Source: Internet
Author: User

ActiveReports Report Application tutorial (1) --- Hello ActiveReports, activereports
Zookeeper

Before starting the topic, let's take a look at what ActiveReports is: ActiveReports is a widely used report control in the world to provide. all the report design functions required for NET reports are better than similar report controls, including strong support for interactive reports, rich data visualization forms, perfect integration with Visual Studio, and for WPF/WinForm/ASP. NET/Silverlight and Windows Azure multi-platform support. With the ActiveReports report control, you can create commonSubreport,Cross report,Group report,Partition report,Master/Slave reportIn addition to commercial reports, you can also createData Filtering,Data Filtering,Data Drilling,Report linkInteractive capabilities such as data analysis reports, and the data is displayed in a visualized manner, quickly add powerful report functions for applications.

 

For many Chinese ActiveReports report control users, the first contact with this product may be the ActiveReports 1.0 Japanese version, because ActiveReports is the most commonly used report control for report function development in Japanese projects. With the development of ActiveReports in the last 20 years, the latest version of ActiveReports isActiveReports 9This version has built-in support for Chinese, English, and Japanese interfaces. This version also supports WinForms, ASP. NET, ASP. net mvc, Silverlight, WPF, and Windows Azure platforms.

The main purpose of the ActiveReports Report Application tutorial is to show you how to meet the requirements of various report systems through ActiveReports in the application system. The report requirements are classified into the following types:

1. Regular reports

List reports
Icon report
Partition report

Group report
Cross report
Set Reports

 

2. Interactive reports

Dynamic Filtering
Dynamic sorting
Drill Down

Drilling through
Report Annotation
Document directory

 

3. Embed third-party controls

ActiveReports controls are perfectly integrated with Visual Studio to provide more flexible and easy-to-use report customization and custom control embedding support. In addition to using ActiveReports built-in controls in reports, you can also add any third party to the report. to meet your needs for more report expansion capabilities.

 

4. Data Visualization

In addition to chart controls, ActiveReports reports also provide a wide range of data visualization controls such as waveforms, data entries, and icons. This example shows how to use the waveform control nested in the table control to display the trend of monthly sales details, and use the data bar control and graphical control to display the completion of annual sales performance.

 

5. Report skin settings

In ActiveReports, you can set styles of different controls in the report and save these styles to an external XML file for other reports. If you want the same report to be delivered without any need, you only need to modify the style form, without changing the font, color, and size of a single control in each report.

 

6. Export reports

ActiveReports supports exporting reports in various formats, including PDF, Excel, Word, RTF, HTML, Text, TIFF, and other image formats, users can apply them to Windows Forms, Web, and other application systems.

 

Hello ActiveReports

Before starting the ActiveReports Report Application tutorial, let's take a look at how to use the ActiveReports report control in Visual Studio.

Step 1:Install the ActiveReports 9 Report Control

: Http://www.gcpowertools.com.cn/products/activereports_overview.htm

Note:ActiveReports 9 supports VS2008, VS2010, VS2012, and VS2013 development tools.

Step 2:Add a ActiveReports 9 Report Template to Visual Studio

ActiveReports supports WinForms, ASP. NET, ASP. net mvc, Silverlight, WPF, and Windows Azure platforms.

Here we chose to demonstrate the use of ActiveReports 7 in ASP. NET applications.

Open VS2010 and create an ASP. NET application type project, right-click the project file and choose add> new item. In the Add new project dialog box that appears, select the Visual C # node under the installed template, at this point, you can see the ActiveReports 7 Project template, such:

After adding the file, we can see the following results in VS2010:

There are three areas in the report design interface: 1. pageHeader, which generally displays the report title and other content; 2. detail, which shows the main content of the report; 3. pageFooter and footer. Add the TextBox Control to the PageHeader area on the report design page from the VS2010 toolbox, and set the Text attribute of the TextBox Control to Hello ActiveReports.

Step 3:Add the WebViewer control provided by ActiveReports on the aspx page to display the ActiveReports report. After adding the WebViewer control, you can see that the configuration information related to ActiveReports is added to the Web. config file. View the ReportName attribute of the WebViewer control, and select ActiveReports_Sample_001.SectionReport1 from the list.

Step 4:Run the program by pressing F5. The result is as follows:

 

Note:ActiveReports has built-in cross-browser support. The above is the running result in the IE browser. You can also run the ActiveReports report control in Chrome, FireFox, and operabrowser.

Source code:Http://www.gcpowertools.com.cn/products/activereports_demo.htm

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.