The requested page is not available for the requested platform. You are viewing the content for Default platform.

ReportViewer.DataBind() Method

Associates the report defined in markup with ReportViewer.

Namespace: DevExpress.XtraReports.Web

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

Declaration

public override void DataBind()
Public Overrides Sub 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