Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

ASP.NET BindingContainer Property

ASP.NET BindingContainer Property


Standard Control Properties Reference Manual Control standard properties reference manual


Definition and Usage

The BindingContainer property gets the control that contains the data binding of this control. The BindingContainer property contains a reference to the Control object that holds the current control's data binding information.


Tips and Notes

**Note:** This property supports the .NET infrastructure and is not intended to be used directly from your code.

**Note:** The BindingContainer property is the same as the NamingContainer property, except when the control is part of a template. In that case, the BindingContainer property is set to the Control that defines the template.


Example

The following example shows the BindingContainer of a Button control:

Text="Get BindingContainer" runat="server" />

Demo Example »


Standard Control Properties Reference Manual Control standard properties reference manual