I have 3 datagrids in 1 page, in parent - child_1 - child_1.1 relation. Now I want to save changes in one datagrid when I move to another. I tried this using :
Me.BindingContext(dataset.Tables("tablename")).EndCurrentEdit()
Call UpdateTable()
This won't work though, he sees no changes in the dataset. When I put a messagebox in front everything's working fine though :s
MsgBox("hier")
Me.BindingContext(dataset.Tables("tablename")).EndCurrentEdit()
Call UpdateTable()
So this one works ! But it's not really my goal to use a textbox everytime I change from one datagrid to another. Anyone has a better idea?
Me.BindingContext(dataset.Tables("tablename")).EndCurrentEdit()
Call UpdateTable()
This won't work though, he sees no changes in the dataset. When I put a messagebox in front everything's working fine though :s
MsgBox("hier")
Me.BindingContext(dataset.Tables("tablename")).EndCurrentEdit()
Call UpdateTable()
So this one works ! But it's not really my goal to use a textbox everytime I change from one datagrid to another. Anyone has a better idea?