Report Definition Language (RDL) Files
Import support for RDL files is included in C1PrintDocument. Report Definition Language (RDL) import allows reading RDL report definitions into an instance of the C1PrintDocument component. The resulting document is a data-bound representation of the imported report. RDL support in C1PrintDocument is based on the Microsoft RDL Specification for SQL Server 2008.
Note: RDL import in C1PrintDocument (provided by ImportRdl and FromRdl methods) is now obsolete. C1RdlReport should be used instead. See Working with C1RdlReport for more information.
You can use the following code to import an RDL file:
Dim doc As New C1PrintDocument()
doc.ImportRdl("myReport.rdl")
doc.Generate()
• C#
C1PrintDocument doc = new C1PrintDocument();
doc.ImportRdl("myReport.rdl");
doc.Generate();
Note that not all RDL properties are currently supported, but support will be added in future releases. For more information, see the RDL Import Limitations topic.
|