Reports for WPF | ComponentOne
Working with C1RdlReport / Loading an RDL file
In This Topic
    Loading an RDL file
    In This Topic

    To load an RDL file into the C1RdlReport class you can use the C1RdlReportBase.Load method. To remove an RDL file, you would use the C1RdlReport.Clear method. This method clears any RDL file previously loaded into the C1RdlReport control.

    To load an RDL file into the C1RdlReport component you can use the C1RdlReportBase.Load method:

    Visual Basic
    Copy Code
    C1RdlReport1.Load("C:/Report.rdl")
    C1RdlReport1.Render()
    
    C#
    Copy Code
    c1RdlReport1.Load(@"C:/Report.rdl");
    c1RdlReport1.Render();
    

     

    See Also