DetailsViewInsertEventArgs Constructor (Object)

 

Initializes a new instance of the DetailsViewInsertEventArgs class.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public DetailsViewInsertEventArgs(
	object commandArgument
)

Parameters

commandArgument
Type: System.Object

An optional command argument passed to the DetailsView control.

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

The following table shows the initial property value for an instance of the DetailsViewInsertEventArgs class.

Property

Initial Value

CommandArgument

The value of the commandArgument parameter.

System_CAPS_noteNote

This constructor is used primarily by control developers when raising events.

.NET Framework
Available since 2.0
Return to top
Show: