GridView.DeleteMethod Property


Gets or sets the name of the method to call in order to delete data.

 virtual property System::String ^ DeleteMethod { System::String ^ get(); void set(System::String ^ value); };
public virtual string DeleteMethod { get; set; }
member this.DeleteMethod : string with get, set
Public Overridable Property DeleteMethod As String

Property Value

The name of the method.



Setting this property causes model binding to be used as the data-binding method.

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

Applies to