BindingSources and DataRelations
-
In a WinForm if you create different BindingSources based on related tables in a DataSet, each time you create a new row in the child BindingSources the relationship key(s) value(s) are automatically entered in the child rows. This works really good. My problem is I would like to be able to edit the key(s) in the master row. If I do this then the child rows have no values created for the key(s) they take the value of null. Is there a way to change the behaviour of the child BindingSources for them to take the new key(s) value(s)? Is this even possible? Thanks in advance for any ideas I am running out fast!:confused:
-
In a WinForm if you create different BindingSources based on related tables in a DataSet, each time you create a new row in the child BindingSources the relationship key(s) value(s) are automatically entered in the child rows. This works really good. My problem is I would like to be able to edit the key(s) in the master row. If I do this then the child rows have no values created for the key(s) they take the value of null. Is there a way to change the behaviour of the child BindingSources for them to take the new key(s) value(s)? Is this even possible? Thanks in advance for any ideas I am running out fast!:confused: