DataBoundControl.ItemType 屬性

定義

取得或設定強型別資料繫結的資料項目型別名稱。

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

屬性值

String

模型型別的名稱。

屬性

備註

設定此屬性會 Item 啟用 和 BindItem 資料系結運算式。

設定這個方法會自動啟用動態資料功能。

如需搭配Web Form使用模型系結的教學課程系列,請參閱模型系結和Web Form

適用於