Redigera

Dela via


DetailsView.InsertMethod Property

Definition

Gets or sets the name of the method on the page that is called when the control performs an insert operation.

public:
 virtual property System::String ^ InsertMethod { System::String ^ get(); void set(System::String ^ value); };
[System.Web.UI.Themeable(false)]
public virtual string InsertMethod { get; set; }
[<System.Web.UI.Themeable(false)>]
member this.InsertMethod : string with get, set
Public Overridable Property InsertMethod As String

Property Value

The name of the method on the page that is called when the control performs an insert operation.

Attributes

Remarks

For a tutorial series on using model binding with Web Forms, see Model Binding and Web Forms.

Applies to