C1.WPF.FlexReport.4 Assembly > C1.WPF.FlexReport Namespace > C1FlexReport Class : NoData Event |
'Declaration Public Event NoData As System.EventHandler
public event System.EventHandler NoData
You can use this event to cancel rendering a report when the source recordset is empty.
If you don't cancel the report, it will be rendered as an unbound report (a self-contained report with no underlying data).
private void c1r_NoData(object sender, EventArgs e) { _c1r.Cancel = true; }