Version

DataSourceID Property (WebScheduleDbProvider)

Identifies a SqlDataSource control on the Page that will be used to initialize this data provider's Connection property.
Syntax
'Declaration
 
Public Property DataSourceID As String
public string DataSourceID {get; set;}

Property Value

Programmatic identifier of a control on the Page that the Connection property should access for information on locating a database.
Remarks

Set this property to a SqlDataSource on the design surface within Microsoft Visual Studio .NET 2005 (and later) to direct the WebSchedule data provider to use this data source to identify the connection information it requires to reach the database.

As an alternative to setting the DataSourceID property in the designer, at run-time you may directly assign your IDbConnection-implementing component to the WebSchedule data provider using the Connection property, or call the Connect method with a connection string appropriate for your database.

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