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
'Declaration
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualBasic.PowerPacks Namespace
Other Resources
Introduction to the DataRepeater Control (Visual Studio)
How to: Display Bound Data in a DataRepeater Control (Visual Studio)