System.Web.UI.WebControls.GridViewCommandEventArgs.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 GridViewCommandEventArgs.CommandSource property to access the properties of the object that represents the source of the command. In the case of a System.Web.UI.WebControls.GridViewCommandEventArgs object, the source of the command is the System.Web.UI.WebControls.GridView control that contains the button clicked by the user.

Requirements

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