I have a:
someBindingSource.DataSource = someDataSource;
And I also do:
someDataSource = foo();
foo()
does new
for another data source with different data.
I don't think it's correct to do the assignment every time the data source changes, i.e:
someDataSource = foo();
someBindingSource.DataSource = someDataSource;
so is there a way to make someBindingSource
aware of change in someDataSource
?