Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CommandArgument Property
Collapse the table of content
Expand the table of content

FormViewUpdateEventArgs.CommandArgument Property

Note: This property is new in the .NET Framework version 2.0.

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)

public Object CommandArgument { get; }
/** @property */
public Object get_CommandArgument ()

public function get CommandArgument () : Object

Property Value

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.

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

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

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show:
© 2015 Microsoft