BaseDataBoundControl.IsDataBindingAutomatic Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets a value that indicates whether data binding is automatic.

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

protected internal bool IsDataBindingAutomatic { get; }

Property Value

Type: System.Boolean

true if data binding is automatic; otherwise, false.

Data binding is automatic if the control uses the DataSourceID property or if the control uses SelectMethod, UpdateMethod, DeleteMethod, or InsertMethod properties for data binding.

.NET Framework
Available since 4.5
Return to top