HtmlSelect.IsBoundUsingDataSourceID Property


Gets a value indicating whether a DataSourceID property is defined for the HtmlSelect control.

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

protected bool IsBoundUsingDataSourceID { get; }

Property Value

Type: System.Boolean

true if a data source control is defined; otherwise, false.

If the length of the string representing the DataSourceID property string is greater than zero, then IsBoundUsingDataSourceID returns true.

.NET Framework
Available since 2.0
Return to top