1. Introduction to the main functions of ActiveReports for .net Support ASP.NET-ActiveReports in WebForms applications by using ASP.NET server controls. This control supports distributed web reporting using HTML, ActiveX, .NET and PDF browsers.
Complete code integration - Use the Microsoft Visual Studio.NET editor to code reports in C# or VB.NET, which is very flexible.
Report Wizard - The Report Wizard helps you get started creating simple reports that can be customized using the integrated designer.
Designer-Object Template
Fully exposed object template.
Allowing you to dynamically create and modify reports,
the Report Creation API provides complete runtime access to report objects and members.
End user report designer
The End User Designer provides you with the ability to add a designer to your application and also provides end user report editing capabilities.
The control's methods and properties make it easy to store and load report layouts, monitor and control the design environment, and customize the appearance according to the needs of the end user.
Integrate with ASP.NET
The Web Browser Control provides you with quick browsing of ActiveReports on the web and printing capabilities, and has properties of ActiveX Browser and Acrobat Reader browser types.
The RPX file HTTP handler provides you with the ability to easily place reports on your web server and enable your Internet users to browse them in HTML or PDF without writing any code.
The compiled report HTTP handler provides direct access to compiled ActiveReports in the server assembly without the need to write any ASPX pages.
Release - easy to deploy
The reporting engine is a simple assembly that handles strong names. Assemblies can be published using XCopy or placed in the Global Assembly Storage (GAC).
The Professional version includes HTTP handlers and server-side web controls for ASP.NET reporting.
Designer - easy to learn
Fully integrated with the .NET environment
Familiar user interface
support C# and Visual Basic .NET
reports are compiled as part of your application for faster processing, enhanced security, and users can optionally publish them separately.
The Beginner Report Wizard and the Microsoft Access Report Import Wizard
Designer have third-party controls (chart controls, image controls, etc.).
Data access - easy to connect
Including OLEDB and SqlClient report data sources
including flexible xml data sources
bound to Dataset, DataView, DataTable and any IListSource control
data source properties can be modified at runtime to generate ad hoc (dynamic) reports
Flexible unbound data
preview and output -Easy to display
Supports C# code
small deployment assembly, suitable for using
TOC/Bookmarks
hyperlink
output filtering file formats on the Internet as RTF, PDF, EXCEL, HTML, TIFF and text files.
Official website: http://www.datadynamics.com
2. Registration Ø Place the following code in ***.exe.config or Web.config:
<appSettings>
<addkey="DataDynamicsARLic" value="DD-APN-10 -C001733,DD-APN-10-C001733,DD-APN-10-C001733,XY6Y7KQBTY12323KJCKJ" />
</appSettings>
Ø After rotating the file licenses.licx for each scheme, regenerate:
DataDynamics.ActiveReports.ActiveReport, ActiveReports, Version =1.2.2003.630, Culture=neutral, PublicKeyToken=dbe4120289f9fd8a
Ø The red line on the right appears because the report exceeds the length limit. If printed like that, an extra blank paper will appear.
1 Left margin + right margin + printwidth must be less than the paper width
2 While right.margin > 1.0 then it will appear
三. Usage Guide There are currently few documents for this control. Please refer to the reference materials. You can only read SAMPLES yourself or download E Documentation :) ;
Chinese ActiveReports 2.0 interface
Public Sub Creport(AReport As ActiveReport)
'Chinese ActiveReport
'The following applies to 2.0
With AReport
.ToolBar.Tools.Item(0).Tooltip = "Directory of each page"
.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 = "Zoom out "
.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
4. How to publish ActiveReports for .NET assembly
There are two ways to deploy ActiveReports assembly. Each method is based on your installation method.
If you are copying the project from your development computer to your server, you need to set the ActiveReports reference in the project reference to CopyLocal = True. This way the ActiveReports DLL will be in the bin folder in the compiled project.
If you are making an installer for your software, you need to include the ActiveReportsDistrib.MSM file, which will be included with the installation of ActiveReports for .NET. For example, the file might be installed in the C:Program FilesData DynamicsActiveReports for .NETDeployment folder.
There is a third way to achieve this, but it is not recommended. Because this method is more complicated. You can use command line tools to install every DLL in the GAC. The format is: 'C:Program FilesMicrosoft Visual Studio .NETFrameworkSDKBin>gacutil -i.
http://www.cnblogs.com/eugenewu0808/archive/2006/10/26/activereports.html