This documentation is archived and is not being maintained.
ListControl.DataMember Property
.NET Framework 1.1
Gets or sets the specific table in the DataSource to bind to the control.
[Visual Basic] Public Overridable Property DataMember As String [C#] public virtual string DataMember {get; set;} [C++] public: __property virtual String* get_DataMember(); public: __property virtual void set_DataMember(String*); [JScript] public function get DataMember() : String; public function set DataMember(String);
Property Value
A string that specifies a table in the DataSource.
Remarks
If the DataSource contains more than one table, use this property to specify the exact table to bind to the control.
Example
Requirements
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
See Also
ListControl Class | ListControl Members | System.Web.UI.WebControls Namespace | DataSource
Show: