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
'宣告
Public Property DataSource As Object
Get
Set
public Object DataSource { get; set; }
public:
property Object^ DataSource {
Object^ get ();
void set (Object^ value);
}
member DataSource : Object with get, set
function get DataSource () : Object
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)