Progress® Telerik® Reporting R3 2017
You have a couple of options:
- (recommended) Create a typed DataSet from your XML. Once you have the DataSet ready, use the ObjectDataSource Component and it will appear in the list of the available data sources; select it and follow the instructions of the wizard. For more information on typed DataSets please see here. For more information on binding to DataSet, see How to: Bind to a DataSet.
- Load the XML into a DataSet programmatically. Use the DataSet.ReadXml method to load the XML data into a DataSet and then pass it to the Report.DataSource property. The disadvantage of this approach is that the schema of the report's data source won't be available at the design time. This means that the Report Wizard won't be of any help. Anyway you still can create a report without it. You can use the Visual Studio Toolbox to select from the available items. For more information please see Designing Reports.