asp.net.ph

GridViewCommandEventArgs.CommandSource Property

System.Web.UI.WebControls Namespace   GridViewCommandEventArgs Class


.NET Framework version 2.0

Returns the source of the command.

Syntax


Script [ Object variable = ] GridViewCommandEventArgs.CommandSource

Property Value


variable The source of the command.

The property is read only with no default value.

Remarks

Use the CommandSource property to determine the source of the command that raised the event. This property is commonly used to determine which command raises the event. You can then take appropriate action, based on the command.

See Also

GridViewCommandEventArgs   GridView   RowCommand Skip Navigation Links




Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note