DetailsView.UpdateMethod 属性

定义

获取或设置控件执行更新操作时调用的页面上的方法的名称。Gets or sets the name of the method on the page that is called when the control performs an update operation.

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; }
member this.UpdateMethod : string with get, set
Public Overridable Property UpdateMethod As String

属性值

当控件执行更新操作时,该页中被调用的方法的名称。The name of the method on the page that is called when the control performs an update operation.

属性

注解

有关如何在 Web 窗体中使用模型绑定的教程系列, 请参阅模型绑定和 Web 窗体For a tutorial series on using model binding with Web Forms, see Model Binding and Web Forms.

适用于