C1.C1Report Namespace > C1Report Class : NoData Event |
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; }
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2