Telerik Reporting version |
Reporting Q3 2009+
|
.NET version |
3.5 SP 1
|
Visual Studio version |
VS 2008 Professional +
|
programming language |
C#
|
To convert code |
Telerik online converter
|
PROJECT DESCRIPTION
This simple report outlines how to read data from an XML file rather than directly from a DataBase. It also shows a useful example of how to manipulate the individual items of a pie chart using code.
The report basically reads data from an xml source and uses it to generate a pie chart and a table.
You can either read the xml from the embedded xml file (as contained in the Data folder), or you can pass in an xml string by calling the public SaveReport function. Here are the 2 options for reading the xml data :
Once the data is residing in the pre-defined classes, it can be assigned as the data source for the different elements of the report. You would have to add an ASP.NET, Windows Forms or Silverlight application to the project in order to view the report.