DetailsView.InsertMethod 属性

定义

获取或设置控件执行插入操作时调用的页面上的方法的名称。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; }
member this.InsertMethod : string with get, set
Public Overridable Property InsertMethod As String

属性值

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

属性

注解

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

适用于