How to serialize the report using Report Serializer

To serialize a report in Bold Reports® Embedded Reporting, use the ReportSerializer class to convert the report into a C# object model, as in the following code:

    FileStream readStream = new FileStream(@"C:\Users\Resources\sales.rsd", FileMode.Open, FileAccess.Read);
    BoldReports.RDL.DOM.ReportSerializer reportSerializer = new BoldReports.RDL.DOM.ReportSerializer();
    var dataset = reportSerializer.GetSharedDataSet(readStream);
    var reportDefintion = reportSerializer.GetReportDefinition(readStream);

See also