Share via


DataRepeater.DataMember Property

 

Gets or sets the name of the list or table in the data source for which the DataRepeater is displaying data.

Namespace:   Microsoft.VisualBasic.PowerPacks
Assembly:  Microsoft.VisualBasic.PowerPacks.Vs (in Microsoft.VisualBasic.PowerPacks.Vs.dll)

Syntax

public string DataMember { get; set; }
public:
property String^ DataMember {
    String^ get();
    void set(String^ value);
}
member DataMember : string with get, set
Public Property DataMember As String

Property Value

Type: System.String

The name of the table or list in the DataSource for which the DataRepeater is displaying data. The default is Empty.

Remarks

Setting the DataMember property of the DataRepeater control to a value other than Empty has no effect. The DataMember properties of the child controls determine what is displayed at run time.

See Also

DataRepeater Class
Microsoft.VisualBasic.PowerPacks Namespace
Introduction to the DataRepeater Control (Visual Studio)
How to: Display Bound Data in a DataRepeater Control (Visual Studio)

Return to top