GridView.UpdateMethod Property

Definition

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

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

Property Value

The name of the method.

Attributes

Remarks

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