Datasets
With all the examples discussed in earlier sections completed, we should have four Data Sources in our report. The reason we kept each of these Data Sources is to demonstrate the differences in each while setting up Datasets. As mentioned before, Datasets are basically descriptions of the data one wants to retrieve. Each type of Data Source is going to contain different Dataset types. In the following examples, we are going to create five different datasets, four of which will be based on each of the different Data Sources we have created, whereas one will be a Joined Dataset or a combination of two of the existing Datasets.
First, we are going to build a simple Dataset from the XML Data Source dsXMLEmployee
. Building the XML Dataset consists of defining columns to be built and then resolving them to XML paths using XPath expressions. This can be a bit tricky if there are namespaces used in the XML file. For our example, namespaces are not used in the XML Data Source.
1. Open
EmployeeReportCH5...