DataBoundControl.SelectMethod 屬性

定義

讀取資料時要呼叫的方法名稱。

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

屬性值

方法名稱。

屬性

備註

設定此屬性會使模型綁定作為資料綁定方法。

關於如何使用網頁表單進行模型綁定的教學系列,請參見 「模型綁定與網頁表單」。

適用於