مشاركة عبر


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
'الاستخدام
Dim instance As DataRepeater
Dim value As String

value = instance.DataMember

instance.DataMember = value
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

DataRepeater Members

Microsoft.VisualBasic.PowerPacks Namespace

Other Resources

Introduction to the DataRepeater Control (Visual Studio)

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