Hi i know the title seems a little bit confusing, let me explain.

Let say i have 10 properties of bindingsource.
The names are: bindingsource1, bindingsource2, bindingsource3, ....., bindingsource10

i want to develop a code using loop for these properties..

For i = 1 to 10
Next i

Is it possible to replace the number in the bindingsource with i?
so, it will be bindingsourcei
and with this bindingsourcei inside the loop, the i will change from 1 to 10

I am thinking of using array/collection, but i wonder how?


Dim bindingsourcearry() As BindingSource

u can access and modify each bindingsource by using bindingsourcearry(i)