_MyBindingSource.Clear() // Clears the binding source.
_MyBindingSource.DataSource = CurrentTabContextSensitiveData.
_MyBindingSource.RefreshBindings() // Common control to refresh the bound data.
OR
_MyBindingSource.DataSource = null;
_MyBindingSource.DataSource = CurrentTabContextSensitiveData.
_MyBindingSource.RefreshBindings() // Common control to refresh the bound data.
I dont know why these code samples cause generic exceptions!!
The code that does actually work is;
_MyBindingSource = new BindingSource();
_MyBindingSource.DataSource = CurrentTabContextSensitiveData.
_MyBindingSource.RefreshBindings() // Common control to refresh the bound data.
I hate it when a solutions is found but cant be fully explained or understood. Any ideas out there????
No comments:
Post a Comment