GridViewDesigner.DataBind Method

Binds the associated control to the design-time data source.

Namespace: System.Web.UI.Design.WebControls
Assembly: System.Design (in system.design.dll)

protected override void DataBind (
	BaseDataBoundControl dataBoundControl
)
protected void DataBind (
	BaseDataBoundControl dataBoundControl
)
protected override function DataBind (
	dataBoundControl : BaseDataBoundControl
)
Not applicable.

Parameters

dataBoundControl

The GridView to bind to the design-time data source.

The DataBind method binds the associated GridView control to the design-time data source and assigns a unique value to the DesignerRegionAttributeName field of each cell of the GridView control's design-time rendering.

The dataBoundControl parameter is the GridView control that is associated with this designer, or a copy of that control.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0
Show: