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
public virtual string DataMember {get; set;}
public: __property virtual String* get_DataMember();
public: __property virtual void set_DataMember(String*);
public function get DataMember() : String;
public function set DataMember(String);

Property Value

A string that specifies a table in the DataSource.


If the DataSource contains more than one table, use this property to specify the exact table to bind to the control.



Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

ListControl Class | ListControl Members | System.Web.UI.WebControls Namespace | DataSource