Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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