Gets or sets the name of the list of data that the data-bound control binds to, in cases where the data source contains more than one distinct list of data items.
<ThemeableAttribute(False)> _ Public Overridable Property DataMember As String
Dim instance As DataBoundControl Dim value As String value = instance.DataMember instance.DataMember = value
[ThemeableAttribute(false)] public virtual string DataMember { get; set; }
[ThemeableAttribute(false)] public: virtual property String^ DataMember { String^ get (); void set (String^ value); }
public function get DataMember () : String public function set DataMember (value : String)
<asp:DataBoundControl DataMember="String" />
The value of the DataMember property is stored in view state.
This property cannot be set by themes or style sheet themes. For more information, see ThemeableAttribute and ASP.NET Themes and Skins Overview.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98