Easy Tutorial
❮ Prop Webcontrol Checkboxlist Textalign Prop Control Standard Parent ❯

ASP.NET BindingContainer Property



Definition and Usage

The BindingContainer property retrieves the control that contains the data bindings for this control. The BindingContainer property contains a reference to the Control object that holds the data binding information for the current control.


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 this case, the BindingContainer property is set to the Control that defines the template.


Example

The following example displays the BindingContainer of the Button control:


❮ Prop Webcontrol Checkboxlist Textalign Prop Control Standard Parent ❯