Export (0) Print
Expand All

FormViewUpdateEventArgs.CommandArgument Property

Gets the command argument for the update operation passed to the FormView control.

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

member CommandArgument : Object with get

Property Value

Type: System.Object
The command argument for the update operation passed to the FormView control.

When you create an Update button for one of the templates in a FormView control, you can optionally specify a command argument for the button by using the IButtonControl.CommandArgument property. The command argument usually contains any optional information you want to accompany the update command, such as the value for the key field. The CommandArgument property is provided as a convenient way to determine the value of the Update button's command argument.

.NET Framework

Supported in: 4.5, 4, 3.5, 3.0, 2.0

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft