This is a migrated thread and some comments may be shown as answers.

Telerik reporting for xml data

1 Answer 94 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Priya Priya
Top achievements
Rank 1
Priya Priya asked on 27 Aug 2009, 03:49 AM
Hai!


I  don't know  how to create reporting for xml data....please help me....

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 27 Aug 2009, 02:58 PM
Hello Priya,

You have a couple of options:
  1. (recommended) Create a typed DataSet from your XML. For more information on the typed DataSets please see here. Once you have the DataSet ready, run the Report Wizard and it will appear in the list of the available data sources; select it and follow the instructions of the wizard.
  2. Load the XML into a DataSet programatically. 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.

Best wishes,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
Priya Priya
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or