CommandArgument Property
Collapse the table of content
Expand the table of content

FormViewInsertEventArgs.CommandArgument Property

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

Gets the command argument for the insert 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 insert operation passed to the FormView control.

When you create an Insert button for one of the templates in a FormView control, you can optionally specify a command argument for the button by using the CommandArgument property. The command argument usually contains any extra information you want to accompany the insert command, such the value for the key field. The CommandArgument property is provided as a convenient way to determine the value of the Insert 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:
© 2016 Microsoft