GrapeCity.ActiveReports.v8 Assembly > GrapeCity.ActiveReports Namespace > SectionReport Class : Cancel Method |
private void rpt_ReportStart(object sender, System.EventArgs eArgs) { if (this.DataSource==null) { this.Cancel(); } }
Private Sub rpt_ReportStart(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.ReportStart If Me.DataSource Is Nothing Then Me.Cancel() End If End Sub