CodeCharge Studio All C#.NET VB.NET

DataBind Method (.NET)

Applies to

Grid Form, EditableGrid Form, Path Control, Directory Form

Syntax

C#.NET

public virtual void DataBind();

VB.NET

Overridable Public Sub DataBind()

Description

Binds a data source to the invoked server control and all its child controls.

Use this method to bind data from a source to a server control. This method is commonly used after retrieving a data set through a database query.
Note: When called on a server control, this method resolves all data-binding expressions in the server control and in any of its child controls.


On-line, printable versions and updates