FlexReport for WinForms
NoData イベント (FlexReport)
使用例 


C1.Report.4.6.2 アセンブリ > C1.Report 名前空間 > FlexReport クラス : NoData イベント
Occurs when the report starts rendering and the main report data source is empty.
シンタックス
'宣言
 
Public Event NoData As System.EventHandler
'使用法
 
Dim instance As FlexReport
Dim handler As System.EventHandler
 
AddHandler instance.NoData, handler
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).

使用例
The code below cancels a report when it has no data:
private void c1r_NoData(object sender, EventArgs e)
{
    _c1r.Cancel = true;
}
参照

参照

FlexReport クラス
FlexReport メンバ