ActiveReports 19 .NET Edition
MESCIUS.ActiveReports Assembly / GrapeCity.ActiveReports Namespace / PageReport Class / ToRdlString Method
Example

In This Topic
    ToRdlString Method (PageReport)
    In This Topic
    Returns the report definition language (RDLX) as a System.String in the report definition.
    Syntax
    'Declaration
     
    Public Function ToRdlString() As String
    public string ToRdlString()

    Return Value

    A System.String value of the report in RDL format.
    Example
    string rdlReport = report.ToRdlString();
    var reader = new StringReader(rdlReport);
    _designer.LoadReport(XmlReader.Create(reader), DesignerReportType.Rdl);
    See Also