Reports for WinForms | ComponentOne
C1.C1Report.4 Assembly / C1.C1Report Namespace / C1Report Class / StartReport Event

In This Topic
    StartReport Event
    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 ConnectionString and RecordSource properties.

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

    You may also use this event to assign a System.Data.DataTable object directly to the report's 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