Udostępnij za pośrednictwem


DrillthroughEventHandler Delegate

Represents the method that will handle the Drillthrough event of a ReportViewer.

Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.dll)

Syntax

'Declaration
Public Delegate Sub DrillthroughEventHandler ( _
    sender As Object, _
    e As DrillthroughEventArgs _
)
'Usage
Dim instance As New DrillthroughEventHandler(AddressOf HandlerMethod)
public delegate void DrillthroughEventHandler (
    Object sender,
    DrillthroughEventArgs e
)
public delegate void DrillthroughEventHandler (
    Object^ sender, 
    DrillthroughEventArgs^ e
)
/** @delegate */
public delegate void DrillthroughEventHandler (
    Object sender, 
    DrillthroughEventArgs e
)
JScript supports the use of delegates, but not the declaration of new ones.

Parameters

  • sender
    The object that raised the event.

Remarks

You must supply a data source for any drillthrough reports that are referenced by the main report. To do this, you must supply an event handler for the drillthrough event.

For more information about handling events, see Consuming Events.

Example

Please see the Drillthrough method of the ReportViewer class for an example.

See Also

Reference

Microsoft.Reporting.WebForms Namespace