BaseDataList.IsBoundUsingDataSourceID Property


Gets a value indicating whether the DataSourceID property is set.

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

member IsBoundUsingDataSourceID : bool with get

Property Value

Type: System.Boolean

true if DataSourceID is set to a value other than Empty; otherwise, false.

The IsBoundUsingDataSourceID property is used by derived classes (such as DataList and DataGrid) to determine whether the data-bound control is bound to an ASP.NET version 2.0 data source control.

.NET Framework
Available since 2.0
Return to top