Visual Basic: DataRepeater Control

Add Method (RepeaterBindings Collection)

See Also   Example   Applies To

Adds a RepeaterBinding object to the RepeaterBindings collection and returns a reference to the new object.

Syntax

object.Add(PropertyName, DataField, DataFormat, key)

Part Description
object An object expression that evaluates to an object in the Applies To list.
PropertyName Required. A string that sets the data-bound property of the user control.
DataField Required. A string that sets the data source field to bind to the property specified in PropertyName.
DataFormat Optional. Sets the DataFormat object to be used.
key Optional. A unique string that identifies the object. Use this value to retrieve a specific member of the collection.