Visual Basic (Declaration) | |
---|---|
Public Event NoData() As EventHandler |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public event EventHandler NoData() |
C# | Copy Code |
---|---|
private void rptDataDynamics_NoData(object sender, System.EventArgs eArgs) |
Visual Basic | Copy Code |
---|---|
Private Sub rptDD_NoData(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.NoData |
This event is used either to cancel the report or to print a page with a message informing the user that the report did not return any records to print.