W3Schools.com

ASP.NET BindingContainer Property


Control Standard Properties Reference Complete Control Standard Properties Reference

Definition and Usage

The BindingContainer property is a reference to the controls data binding control.


Tips and Notes

Note: This property is used internally by .NET. It is not intended to be called directly from your code

Note: The BindingContainer property is the same as the NamingContainer property, except when the control is part of a template.


Example

The following example shows the BindingContainer of the button control:

<script runat="server">
Sub Button1_Click(sender As Object, e As EventArgs)
  Response.Write("The binding container is: ")
  Response.Write(button1.BindingContainer)
End Sub
</script>

<form runat="server" >
<asp:Button ID="button1" OnClick="Button1_Click"
Text="Get BindingContainer" runat="server" />
</form>

Show example »

Control Standard Properties Reference Complete Control Standard Properties Reference
WEB HOSTING
Best Web Hosting
PHP MySQL Hosting
Best Hosting Coupons
UK Reseller Hosting
Cloud Hosting
Top Web Hosting
$7.95/mo SEO Hosting
Premium Website Design
WEB BUILDING
XML Editor - Free Trial!
FREE Website BUILDER
Free Website Templates Free CSS Templates
Make Your Own Website
W3SCHOOLS EXAMS
Get Certified in:
HTML, CSS, JavaScript, XML, PHP, and ASP
W3SCHOOLS BOOKS
New Books:
HTML, CSS
JavaScript, and Ajax
STATISTICS
Browser Statistics
Browser OS
Browser Display
SHARE THIS PAGE