asp.net.ph

DataListCommandEventArgs Constructor

System.Web.UI.WebControls Namespace   DataListCommandEventArgs Class


Initializes a new instance of the DataListCommandEventArgs class.

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

[ C# ]
public DataListCommandEventArgs (
   DataListItem item,
   object commandSource,
   CommandEventArgs originalArgs
);

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

[ JScript ]
public function DataListCommandEventArgs (
   item : DataListItem,
   commandSource : Object,
   originalArgs : CommandEventArgs
);

Parameters

item
The selected item from the DataList.
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 DataListCommandEventArgs class.

When an instance of DataListCommandEventArgs 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

DataListCommandEventHandler   DataList   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