Skip to main content

XtraReportBase.DataAdapter Property

SECURITY NOTE

Deserializing a report layout from untrusted resources may create security issues. Serializable System.Object properties that contain custom type values are not (de)serialized automatically. Review the following help topic for information on how to (de)serialize custom type values: Reporting — Safe Deserialization.

Specifies the data adapter that should be used to populate a report’s data source.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.1.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

[SRCategory(ReportStringId.CatData)]
public object DataAdapter { get; set; }

Property Value

Type Description
Object

A Object which represents the report’s data adapter.

Remarks

Only non-parameterized data adapters can be assigned to the DataAdapter property.

A report’s data source is determined by the XtraReportBase.DataSource property.

For more information on using the DataAdapter property, refer to the Standard .NET Data Providers document.

See Also