System.Web.UI.WebControls Namespace FormView Class
.NET Framework version 2.0
Binds a data source to the FormView control.
[ VB ]
Overrides Public Sub DataBind ( )
[ C# ]
public override void DataBind ( );
[ C++ ]
public: void DataBind ( );
[ JScript ]
public override function DataBind ( );
Use the DataBind method to bind data from a data source to the FormView control. This method resolves all data-binding expressions in the active template of the control.
The DataBind method is also commonly used to synchronize the data source and a FormView control after information in the data source is updated. This allows any changes in the data source to also be reflected in the FormView control.
FormView Members