New Bug with SubmitChanges
Posted: Sun 04 Oct 2009 13:02
Hey
You still know: I use VB.NET 2008+your latest controls
I use a hierachial structure
On a from I put 2 BindingSources
BindingSourceMaster.DataSource = From Query in Master
BindingSourceDetail.DataSource = BindingSourceMaster.DataSource
BindingSourceDetail.DataMember = "Child"
When I now input one child, Submit Changes works, but if I add more than one Child, I get an LostConnection Error
By looking around & trying around, I found out, that the TransactionScope is the problem.
When I enter one master, related with one detail, it works. - When there are more than one detail, I got an lostConnection error. - When I delete the TransactionScope, then it works.
I sent you an example.
THX
You still know: I use VB.NET 2008+your latest controls
I use a hierachial structure
On a from I put 2 BindingSources
BindingSourceMaster.DataSource = From Query in Master
BindingSourceDetail.DataSource = BindingSourceMaster.DataSource
BindingSourceDetail.DataMember = "Child"
When I now input one child, Submit Changes works, but if I add more than one Child, I get an LostConnection Error
By looking around & trying around, I found out, that the TransactionScope is the problem.
When I enter one master, related with one detail, it works. - When there are more than one detail, I got an lostConnection error. - When I delete the TransactionScope, then it works.
I sent you an example.
THX