다음을 통해 공유


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 Property DataMember As String
    Get
    Set
public string DataMember { get; set; }
public:
property String^ DataMember {
    String^ get ();
    void set (String^ value);
}
member DataMember : string with get, set
function get DataMember () : String
function set DataMember (value : 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.

.NET Framework Security

See Also

Reference

DataRepeater Class

Microsoft.VisualBasic.PowerPacks Namespace

Other Resources

Introduction to the DataRepeater Control (Visual Studio)

How to: Display Bound Data in a DataRepeater Control (Visual Studio)