Visual Basic: DataRepeater Control
Returns an array of DataField names of the DataSource.
The DataFields property syntax has these parts:
|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.|
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