combit List & Label 25 - .NET Online Web Help
ExecuteDbCommand Event (DbConnectionDataProvider)

combit.ListLabel25.DataProviders Namespace > DbConnectionDataProvider Class : ExecuteDbCommand Event
Public Event ExecuteDbCommand As EventHandler(Of ExecuteDbCommandEventArgs)
public event EventHandler<ExecuteDbCommandEventArgs> ExecuteDbCommand
event EventHandler<ExecuteDbCommandEventArgs^>^ ExecuteDbCommand
Event Data

The event handler receives an argument of type ExecuteDbCommandEventArgs containing data related to this event. The following ExecuteDbCommandEventArgs properties provide information specific to this event.


The IDbCommand instance which is to be executed on the database. You can e.g. edit the SQL statement or change the parameter values.


A record limit that might be set (e.g. 1 when opening the Designer, 5 when drawing a crosstab preview etc.). If you modify the query, you could use this to optimize performance.


The table name for the command in the Designer.


Platforms: Windows 7 SP1 to Windows 10 Version 1709 - 2004, Windows Server 2008 R2 to 2019

See Also