cjard
Well-known member
- Joined
- Apr 25, 2006
- Messages
- 7,081
- Programming Experience
- 10+
I'm trying to enumerate a BindingSource's list of items. The BindingSource is subject to a relation that is restricting the size of the list from many in the underlying datatable.
In attempting to write:
For Each x as Something in BindingSource.List
I'm having trouble with the Something, because a BindingSource.List in this case is typed to be a System.Data.RelatedView when I run the project and investigate it with the immediate window..
I have never heard of this class, and neither has the IDE so it wouldnt let me cast to it in code.
How do we enumerate a binding source's list in this case?
In attempting to write:
For Each x as Something in BindingSource.List
I'm having trouble with the Something, because a BindingSource.List in this case is typed to be a System.Data.RelatedView when I run the project and investigate it with the immediate window..
I have never heard of this class, and neither has the IDE so it wouldnt let me cast to it in code.
How do we enumerate a binding source's list in this case?