I have this form wich contians a dataset that can be empty in certain conditions. When I add the first record to this dataset it doesn't show this record in the bound controls on the form (I know for shure, cause the values differ from the values initialized in the new record).
I tried calling the refresh on the currencymanager like this
(this.BindingContext[ periodDataSet1, "Period" ] as CurrencyManager).Refresh();
But it results in the following exception:
"DataBinding could not find a row in the list that is suitable for all bindings"
I've also tried calling SuspendBinding and then ResumeBinding, but then the resumebinding also causes this exception.
And then silence smacks right in there...
... And it is loud!
I tried calling the refresh on the currencymanager like this
(this.BindingContext[ periodDataSet1, "Period" ] as CurrencyManager).Refresh();
But it results in the following exception:
"DataBinding could not find a row in the list that is suitable for all bindings"
I've also tried calling SuspendBinding and then ResumeBinding, but then the resumebinding also causes this exception.
And then silence smacks right in there...
... And it is loud!