Version

DataBind() Method

Binds to activity and resource information through an associated WebSchedule data provider control.
Syntax
'Declaration
 
Public Overloads Overrides Sub DataBind() 
public override void DataBind()
Remarks

A WebSchedule data provider is normally attached by setting the WebScheduleInfoID property of the data provider to the unique ID string of the WebScheduleInfo at design-time (see the DataFetch property for further details.)

Unless called manually by an application, the WebScheduleInfo will data bind automatically after the PreRender event takes place. This is called just in time data binding.

Data binding must clear all prior Activity and Resource information from this WebScheduleInfo control. When an application adds their own dynamic activities to the Activities collection, the DataBind method should be called first to prevent these activities from being cleared.

If an ActiveResourceName was not set before data binding takes place, then the WebScheduleInfo will assume the "Unassigned" resource should be used.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also