Public Class myBoundToClass
Private _SomeData As String = "DefaultValue"
Public Property SomeData() As String
Get
Return _SomeData
End Get
Set(ByVal Value As String)
_SomeData = Value
End Set
End Property
End Class
TextBox1.DataBindings.Add("Text", _myBoundClass, "SomeData")
Binding Class:
Represents the simple binding between the property value of an object and the property value of a control.