Skip to main content

ReportViewer.DataBind() Method

Associates the report defined in markup with ReportViewer.

Namespace: DevExpress.XtraReports.Web

Assembly: DevExpress.XtraReports.v24.1.Web.WebForms.dll

NuGet Package: DevExpress.Web.Reporting

Declaration

public override void DataBind()

Remarks

The DataBind method is called internally in a ReportViewer‘s Load event handler.

This is why calling the DataBind method before manually assigning a report to a ReportViewer is required. This cancels the internal call of this method and prevents double execution of its code.

See Also