O'Reilly logo

ADO.NET Programming in Visual Basic™ .NET by Bob Howell, Steve Holzner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The Binding Class

The Binding class and the BindingCollection facilitate data binding on the control’s side. We saw some of this in the previous example of binding to an array. We can actually see the contents of the Binding collection if we click the Advanced tab of a control with a DataBindings property. This looks like Figure 8.11 for the TextBox control.

Figure 8.11. The Data Binding collection editor.

As you can see, you can bind almost any property to a bindable object. This could come in very handy if you wanted to be able to create forms at runtime using data stored in database tables or XML files.

The Bindable attribute we’ve mentioned ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required