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)

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

public function get CommandArgument () : Object

Not applicable.

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 Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft