Hello there,
I was wondering if anyone knew how to loop through all binding sources on a
form?
I tried the below code but the me.controls collection doesnt return
everything :(
For Each obj As Object In Me.Controls
If TypeOf (obj) Is BindingSource Then
MessageBox.Show (obj.name)
End If
Next
Thank you kindly for reading my message
John Sheppard
I was wondering if anyone knew how to loop through all binding sources on a
form?
I tried the below code but the me.controls collection doesnt return
everything :(
For Each obj As Object In Me.Controls
If TypeOf (obj) Is BindingSource Then
MessageBox.Show (obj.name)
End If
Next
Thank you kindly for reading my message
John Sheppard
Comment