Repeater.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;否则为 falsetrue if the DataSourceID property is set to a value other than an empty string (""); otherwise, false.

注解

IsBoundUsingDataSourceID 属性是一个帮助器属性,该属性确定控件是否绑定到 ASP.NET 2.0 数据源控件,如 ObjectDataSourceSqlDataSource 控件。The IsBoundUsingDataSourceID property is a helper property that determines whether the control is bound to an ASP.NET 2.0 data source control, such as an ObjectDataSource or a SqlDataSource control.

适用于

另请参阅