asp.net.ph

DataGridCommandEventArgs.CommandSource Property

System.Web.UI.WebControls Namespace   DataGridCommandEventArgs Class


Returns the source of the command.

Syntax


Script [ Object variable = ] DataGridCommandEventArgs.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

DataGridCommandEventArgs   DataGrid   CancelCommand   DeleteCommand   EditCommand   ItemCommand   UpdateCommand Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

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

You can help support asp.net.ph