Visual Basic (Declaration) | |
---|---|
Public Sub Cancel() |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public void Cancel() |
C# | Copy Code |
---|---|
private void rptDataDynamics_ReportStart(object sender, System.EventArgs eArgs) |
Visual Basic | Copy Code |
---|---|
Private Sub rptDD_ReportStart(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.ReportStart |
You can call this method based on a user's request or in a report event such as ReportStart to prevent printing a blank report if their data source did not return any records.