Command.CommandArgument Property
.NET Framework 3.0
Sets or returns the argument associated with the command in the ItemCommand event. The default value is an empty string ("").
Namespace: System.Web.UI.MobileControls
Assembly: System.Web.Mobile (in system.web.mobile.dll)
Assembly: System.Web.Mobile (in system.web.mobile.dll)
[BindableAttribute(true)] public: property String^ CommandArgument { String^ get (); void set (String^ value); }
/** @property */ public String get_CommandArgument () /** @property */ public void set_CommandArgument (String value)
public function get CommandArgument () : String public function set CommandArgument (value : String)
Not applicable.
Property Value
The argument associated with the command in the ItemCommand.The following code example demonstrates how to the use the CommandArgument property to display a value.
Note: |
|---|
| The following code example uses the single-file code model and may not work correctly if copied directly into a code-behind file. This code example must be copied into an empty text file that has an .aspx extension. For more information, see ASP.NET Web Page Code Model. |
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, 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.Community Additions
ADD
Show:
Note: