Several bindingSource attached to the same table.

  • Thread starter Thread starter Mr. X.
  • Start date Start date
M

Mr. X.

Hello.
I have two bindingSources, which attached to the same table.
BindingSource bs1;
BindingSource bs2;

if I do bs2.filter = "some filtering ..."
I see that controls, which attached to bs1, take the changed on bs2.filter.

Can I change bs2.filter, so the controls which attached bs1 will not be
affected?

Thanks :)
 
Hello,

I want that BindingSources act as layers.
I have heard once that I may have BindingSource objects can act as layers,
so I can have many BindingSource, and each BindingSource is responsible of
its own editing ...
I have tried this "de facto" as above, but in vain.

I need a good practice sample on understanding and how using BindingSource,
please.

Thanks :)
 
What you say, is I should have two DataTables, and bind each of them to
another BindingSource?

Thanks :)
 
Back
Top