Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

Visual Basic: DataRepeater Control

Visual Studio 6.0

DataFields Property

See Also   Example   Applies To

Returns an array of DataField names of the DataSource.



The DataFields property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
index The index of an element in the array. The array is 0-based.

Return Type



The DataFields array contains the names of all bindable properties of the repeated control (see RepeatedControlName).

Use the Ubound method to determine how many elements are in the array. Since the array is 0-based, use the following code:

Debug.Print Ubound(DataRepeater1.DataFields) + 1
© 2015 Microsoft