|
<< Click to Display Table of Contents >> Navigation: User Interface (UI) Elements > Report Designer > Bind to Data > Bind a Report to an XML File |
Bind a Report to an XML File
This tutorial demonstrates how to bind a report to data stored in an external XML file.
1.Create a new report.
2.Click the report's smart tag. In the invoked actions list, expand the drop-down menu for the Data Source property and click Add New DataSource.

3.On the first page of the invoked Data Source Wizard, select Database and click Next.

4.The next page allows you to specify whether you want to use an existing data connection or create a new data connection. Select the first option and click Next.

5.On the next page, specify the data provider (XML file) and the path to the database file.

To proceed to the next wizard page, click Next.
6.On the next page, you can choose which tables, views and/or stored procedures to add to the report. You can also construct custom queries using the Query Builder. Click Finish to exit the wizard.

The newly created SQL data source will be displayed in the Components node of the Report Explorer. Additionally, the hierarchy of the data source will be reflected by the Field List.
