Repeater.DataBind Method ()
This API supports the product infrastructure and is not intended to be used directly from your code.
Binds the Repeater control and all its child controls to the specified data source.
Assembly: System.Web (in System.Web.dll)
The DataBind method is also commonly used to synchronize the data source and a data listing control after information in the data source is updated. This allows any changes in the data source to also be updated in a data listing control.
If the data source for the Repeater control is specified by the DataSourceID property, you do not need to explicitly call the method. ASP.NET calls this method automatically to bind the specified data source control to the Repeater control.
The following code example demonstrates how to override the Repeater server control.method in a custom server control so that it always raises a data binding event in a custom
Available since 1.1