Hi
BindingSource can be bound to any of the following:
- IEnumerable
- ICollection
- IList
- IListSource
- IBindingList
- IBindingListView
but not to a single single entity.
One way , perhaps is to add it into a collection, but not sure or
You can arbitrarily set the DataSource of BindingSource to any System.Object. When this is done, BindingSource internally creates a BindingList<T> of that Object type and adds the item to this list. You can then add objects to this list by calling BindingSource.Add(…).
e.g. Say you have a Customer object. You can do the following:
BindingSource bs = new BindingSource();
bs.DataSource = new Customer();
This will create a BindingList<Customer> internally with one object.
I hope I have read your query correctly and not leading you down the wrong path.
Apologies if I am and please come back.