BaseDataList.IsBoundUsingDataSourceID 属性

定义

获取指示是否设置 DataSourceID 属性的值。Gets a value indicating whether the DataSourceID property is set.

protected:
 property bool IsBoundUsingDataSourceID { bool get(); };
protected bool IsBoundUsingDataSourceID { get; }
member this.IsBoundUsingDataSourceID : bool
Protected ReadOnly Property IsBoundUsingDataSourceID As Boolean

属性值

如果 true 设置为非 DataSourceID 的值,则为 Empty;否则为 falsetrue if DataSourceID is set to a value other than Empty; otherwise, false.

注解

派生类(如 DataListDataGrid)使用 IsBoundUsingDataSourceID 属性来确定数据绑定控件是否绑定到 ASP.NET 版本2.0 数据源控件。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.

适用于

另请参阅