Hi NG,
I have a form for input, with textboxes and Comboboxes.
When closing the form with an OK Button the changes are in
the underlying DataTable to be taken over.
I realized this as follows:
CurrencyManager cm =
(CurrencyManage r)this.BindingC ontext[myDataSet,"Data TableName" ];
cm.EndCurrentEd it ();
I have the following problem with the ComboBox:
If I typed a value into the Combobox, this value is moved in the DataSet, by
calling EndCurrentEdit.
But, if I select the value from the ComboBox list, this value is not moved
after exceuting EndCurrentEdit.
Does anybody know why ? Is there another method than EndCurrentEdit
in order to shift contents of the input fields into the DataSet?
Thank you for your help!
greetings
Iris
I have a form for input, with textboxes and Comboboxes.
When closing the form with an OK Button the changes are in
the underlying DataTable to be taken over.
I realized this as follows:
CurrencyManager cm =
(CurrencyManage r)this.BindingC ontext[myDataSet,"Data TableName" ];
cm.EndCurrentEd it ();
I have the following problem with the ComboBox:
If I typed a value into the Combobox, this value is moved in the DataSet, by
calling EndCurrentEdit.
But, if I select the value from the ComboBox list, this value is not moved
after exceuting EndCurrentEdit.
Does anybody know why ? Is there another method than EndCurrentEdit
in order to shift contents of the input fields into the DataSet?
Thank you for your help!
greetings
Iris