DataBoundControl.ItemType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the name of the data item type for strongly typed data binding.
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
Property Value
The name of the model type.
- Attributes
Remarks
Setting this property enables the Item
and BindItem
data-binding expressions.
Setting this method automatically enables Dynamic Data functionality.
For a tutorial series on using model binding with Web Forms, see Model Binding and Web Forms.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.