DataRepeater.DataSource Property
Gets or sets 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 DataSource As Object
'Usage
Dim instance As DataRepeater
Dim value As Object
value = instance.DataSource
instance.DataSource = value
public Object DataSource { get; set; }
public:
property Object^ DataSource {
Object^ get ();
void set (Object^ value);
}
public function get DataSource () : Object
public function set DataSource (value : Object)
Property Value
Type: System.Object
The object that contains data for the DataRepeater to display.
Remarks
Setting the DataSource property of the DataRepeater control has no effect. The DataSource 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)