ActiveReports for. NET Simple Use

Source: Internet
Author: User
Tags config include interface reference visual studio
Active

The main features of ActiveReports for. NET support Asp.net-activereports are used in WebForms applications by using ASP.net server controls. This control supports distributed Web reports and can be used in html,activex,.net and PDF browsers.

Full code Integration-it is flexible to use the Microsoft Visual Studio.NET editor to write the report code in C # or vb.net.

Report Wizard-The Report Wizard helps you start creating simple reports that you can customize with the integration designer.

Designer-Object Template

A fully visible object template.

Allows you to dynamically create and modify reports

The report creation API provides full run-time access to reporting objects and member functionality.

End User Report Designer

End user Designer provides you with the ability to add designers to your application while providing end-user report editing capabilities.

The control's methods and properties allow you to easily store and load report layouts, monitor and control the design environment, and tailor the appearance to the needs of the end-user.

Integration with ASP.net

The Web Browser control gives you the ability to quickly browse activereports and print on the web and has properties of the ActiveX browser and Acrobat Reader browser type.

The RPX file HTTP processor provides you with the ability to easily place reports on a Web server and allows your Internet users to browse with HTML or PDFs without having to write any code.

The compiled report HTTP processor provides ActiveReports compiled in an assembly that accesses the server directly, without the need to write any ASPX pages.

Release-Easy to deploy

The report engine is a simple processing strong name assembly. Assemblies can be published or placed in the assembly global Storage (GAC) using Xcopy.

Professional editions include HTTP processors and server parallel Web controls for ASP.net reports.

Designer-Easy to learn

Complete integration with the. NET Environment

Familiar user interface

Support for C # and Visual Basic.NET

Reports are compiled as part of your application to speed up processing, enhance security, and allow users to selectively publish separately.

Starter Report Wizard and Microsoft Access Report Import Wizard

Designers have Third-party controls (chart controls, image controls, and so on).

Data access-Easy to connect

Include OLE DB and SqlClient report data sources

Includes a flexible XML data source

Bind to Dataset,dataview,datatable and any IListSource controls

Data source properties can be modified at runtime to generate an ad hoc (dynamic) report

Flexible unbound data

Preview and output-Easy to display

Support for C # code

Small deployment assemblies for use on the Internet

Toc/bookmarks

Hyperlinks

The output filter file format is RTF, PDF, EXCEL, HTML, TIFF, and text files.

Official website: http://www.datadynamics.com

Two. Register ø The following code is placed inside ***.exe.config or web.config:

<appSettings>

<addkey= "Datadynamicsarlic" value= "dd-apn-10-c001733,dd-apn-10-c001733,dd-apn-10-c001733, Xy6y7kqbty12323kjckj "/>

</appSettings>

Ø after each scenario rotates the file licenses.licx, regenerate:

DataDynamics.ActiveReports.ActiveReport, ActiveReports, version=1.2.2003.630, Culture=neutral, Publickeytoken=dbe4 120289f9fd8a

Ø the right red line appears because the report exceeds the length of the limit, if that print, will be more than a blank sheet of paper.

1 left margin + right margin + printwidth must is less than the paper width

2 while Right.margin > 1.0 then it'll appear

Three. Use the Guide this control currently has very few documents, see resources, can only look at samples or download the e-text document:);

ActiveReports 2.0 interface of Chinese

Public Sub Creport (areport as ActiveReport)

' The ActiveReport of Chinese

' The following applies to 2.0

With Areport

. ToolBar.Tools.Item (0). Tooltip = "Each page catalog"

. ToolBar.Tools.Item (2). Caption = "Print ..."

. ToolBar.Tools.Item (2). Tooltip = "Print Report"

. ToolBar.Tools.Item (4). Tooltip = "Copy"

. ToolBar.Tools.Item (6). Tooltip = "Find"

. ToolBar.Tools.Item (8). Tooltip = "Single page display"

. ToolBar.Tools.Item (9). Tooltip = "Multiple page display"

. ToolBar.Tools.Item (11). Tooltip = "Shrink"

. ToolBar.Tools.Item (12). Tooltip = "Zoom In"

. ToolBar.Tools.Item (15). Tooltip = "Previous Page"

. ToolBar.Tools.Item (16). Tooltip = "Next Page"

. ToolBar.Tools.Item (19). Tooltip = "Back"

. ToolBar.Tools.Item (19). Caption = "Back"

. ToolBar.Tools.Item (20). Tooltip = "Forward"

. ToolBar.Tools.Item (20). Caption = "Forward"

End With

End Sub

Four. How to publish a activereports for. NET Assembly

There are two methods of deploying ActiveReports assemblies. Each method depends on your installation method.

If you are copying the project from the development computer to your server, you need to set the ActiveReports reference in the project reference to CopyLocal = True. This activereports DLL will be in the Bin folder in the compilation project.

If you are making an installer for your software, you need to include a actiivereportsdistrib.msm file that will be included in the ActiveReports for. NET installation. For example, the file may be installed in the C:\Program files\data dynamics\activereports for. Net\deployment folder.

There is a third way to implement it, but it is not recommended. Because the method is more complex. You can install each DLL in the GAC by using command-line tools. The format is: ' C:\Program Files\Microsoft Visual Studio. Net\frameworksdk\bin>gacutil-i.



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.