Changing what BindingSource references
C#
1
Posts
1
Posters
0
Views
1
Watching
-
Doing this breaks databinding of controls
bindingSourceOnWhichControlsAreBound = bindingSourceWithData;
similary likedataSetOnWhichControlsAreBound = dataSetWithData;
However when using DataSet you can do:dataSetOnWhichControlsAreBound.Clear; dataSetOnWhichControlsAreBound.Merge(dataSetWithData);
Is there something similar for bindingSource? Tnx