System.Web.UI.WebControls.DetailsViewCommandEventArgs.CommandSource Property

Gets the source of the command.

Syntax

public object CommandSource { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the DetailsViewCommandEventArgs.CommandSource property to access the properties of the object that represents the source of the command. In some cases, this will be the System.Web.UI.WebControls.DetailsView control itself, and in other cases it will be the System.Web.UI.WebControls.Button control that was clicked.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0