asp.net.ph

DataGridCommandEventArgs Constructor

System.Web.UI.WebControls Namespace   DataGridCommandEventArgs Class


Initializes a new instance of the DataGridCommandEventArgs class.

[ VB ]
Public Sub New ( _
   ByVal item As DataGridItem, _
   ByVal commandSource As Object, _
   ByVal originalArgs As CommandEventArgs _
)

[ C# ]
public DataGridCommandEventArgs (
   DataGridItem item,
   object commandSource,
   CommandEventArgs originalArgs
);

[ C++ ]
public: DataGridCommandEventArgs (
   DataGridItem* item,
   Object* commandSource,
   CommandEventArgs* originalArgs
);

[ JScript ]
public function DataGridCommandEventArgs (
   item : DataGridItem,
   commandSource : Object,
   originalArgs : CommandEventArgs
);

Parameters

item
The selected item from the DataGrid.
commandSource
The source of the command.
originalArgs
A CommandEventArgs that contains the original event data.

Remarks

Use this constructor to initialize a new instance of the DataGridCommandEventArgs class.

When an instance of DataGridCommandEventArgs is created by a call to this constructor, the following properties are initialized to the specified values.

Item Description
Item The value of the item parameter.
CommandSource The value of the commandSource parameter.

See Also

DataGridCommandEventHandler   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