XtraReport.DataSourceSchema Property

Gets or sets an XML/XSD file, containing a schema of a report’s data source.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v20.2.dll


public string DataSourceSchema { get; set; }

Property Value

Type Default Description


A String value.


This property is retained for backward compatibility and should no longer be used. See Bind a Report to a Data Source Schema for information on how to bind a report to an XSD file.

The following example demonstrates how to specify the data source schema at runtime.

 using DevExpress.XtraReports.UI;
 public partial class Form1 : Form
        public Form1()
        private void Form1_Load(object sender, EventArgs e)
            XtraReport report = CreateReport();
            ReportDesignTool designTool = new ReportDesignTool(report);

        private XtraReport CreateReport()
            XtraReport report = new XtraReport();
            report.DataSourceSchema = "schema.xsd";
            report.DataSource = new nWindDataSet();
            return report;
See Also