ComponentOne ReportViewer for ASP.NET AJAX: Working with C1RdlReport > Loading an RDL file

Loading an RDL file

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

To load an RDL file in code:

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

      Visual Basic

C1RdlReport1.Load("C:/Report.rdl")

C1RdlReport1.Render()

      C#

c1RdlReport1.Load(@"C:/Report.rdl");

c1RdlReport1.Render();


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.