Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
Repeater Class
Repeater Methods
DataBind Method

  Switch on low bandwidth view
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
Repeater..::.DataBind Method

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.

  NameDescription
Public methodDataBind()()()Infrastructure. Binds the Repeater control and all its child controls to the specified data source. (Overrides Control..::.DataBind()()().)
Protected methodDataBind(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.)
Top

Use the Repeater..::.DataBind()()() method to bind data from a source. The Repeater..::.DataBind()()() method commonly is used after retrieving a data set through a database query.

The Repeater..::.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.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker