ComponentOne Reports for WPF
C1.C1Report Namespace / C1Report Class / StartReport Event

In This Topic
    StartReport Event (C1Report)
    In This Topic
    Fired when the control starts rendering the report, before it opens the source recordset.
    Syntax
    'Declaration
     
    Public Event StartReport As EventHandler
    public event EventHandler StartReport
    Remarks

    You can use this event to provide user feedback or to make changes to the DataSource.ConnectionString and DataSource.RecordSource properties.

    For example, you may implement your own version of parameterized queries by asking the user to provide some information and changing the DataSource.RecordSource property accordingly.

    You may also use this event to assign a System.Data.DataTable object directly to the report's DataSource.Recordset property. Applications that already have the report data should do this to save time by preventing C1Report from loading its own copy of the data.

    See Also