asp.net.ph

DataGridItemEventArgs Constructor

System.Web.UI.WebControls Namespace   DataGridItemEventArgs Class


Initializes a new instance of the DataGridItemEventArgs class.

[ VB ]
Public Sub New ( _
   ByVal item As DataGridItem _
)

[ C# ]
public DataGridItemEventArgs (
   DataGridItem item
);

[ C++ ]
public: DataGridItemEventArgs (
   DataGridItem* item
);

[ JScript ]
public function DataGridItemEventArgs (
   item : DataGridItem
);

Parameters

item
The DataGridItem associated with the event. The Item property is set to this value.

Remarks

The following table shows initial property values for an instance of DataGridItemEventArgs.

Property Initial Value
Item The value of the item parameter.

Example

The following example demonstrates how to initialize a new instance of the DataGridItemEventArgs class.

void Item_Created ( Object src, DataGridItemEventArgs e ) {
   DataGridItemEventArgs item_arg = new DataGridItemEventArgs ( e.Item );
}
  C# VB

See Also

DataGridItemEventArgs Members 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