This documentation is archived and is not being maintained.
Repeater::DataBind Method
Visual Studio 2010
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Binds the data source to the Repeater control.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
DataBind() | Infrastructure. Binds the Repeater control and all its child controls to the specified data source. (Overrides Control::DataBind().) |
|
DataBind(Boolean) | Binds a data source to the invoked server control and all its child controls with an option to raise the DataBinding event. (Inherited from Control.) |
Use the DataBind method to bind data from a source. The DataBind method commonly is used after retrieving a data set through a database query.
The DataBind method commonly is overridden when creating custom templated data-bound controls. For more information, see How to: Create Templated ASP.NET User Controls.
For more information about data binding to server controls, see Data-Binding Expression Syntax.
Show: