U
Uldis
I have form with controls bound to the strong typed dataset. If I load
record (and related tables) from SQL server data bindings works well.
I can see data in forms controls. If I add new records with a:
MyDataSet.NewDataTableRow() and add them - all controls are empty (but
there should be some default values etc.. If I tell control to use
forms BindingContext, I see correct data:
mycontrol.BindingContext = MyForm.BindingContext.
There are no tab pages on the form, just plain form with a controls. I
do not want to assign all the controls parent Bindingcontext manually.
Any ideas what is the problem?
Uldis
record (and related tables) from SQL server data bindings works well.
I can see data in forms controls. If I add new records with a:
MyDataSet.NewDataTableRow() and add them - all controls are empty (but
there should be some default values etc.. If I tell control to use
forms BindingContext, I see correct data:
mycontrol.BindingContext = MyForm.BindingContext.
There are no tab pages on the form, just plain form with a controls. I
do not want to assign all the controls parent Bindingcontext manually.
Any ideas what is the problem?
Uldis