A
Alex
Hi:
How can I binf different datasets to the same bindingcontext of the form?
Regards.
How can I binf different datasets to the same bindingcontext of the form?
Regards.
Katy said:For example, when I try to change position of BindingManager, value for
oBMB.Position is always zero.
For example, when I do: oBMB.Position = oBMB.count - 1
Can it influence that primary key that I define are composed by 2 or 3
fields for each table ?
Ilya Tumanov said:Please be more specific. How exactly it "does not work correctly"? How
does it work?
I would say in this case you should get two completely unrelated
bindings. Is that not the case?
Best regards,
Ilya
This posting is provided "AS IS" with no warranties, and confers no
rights.
*** Want to find answers instantly? Here's how... ***
1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).
Katy said:I have following code, for example:
Public Class FrmClientes
Private oBMBDel As BindingManagerBase
Private oBMBDel As BindingManagerBase
Private Sub MiDataBinding()
Dim dtFmacli As DataTable = dsFmacli.Tables("Fmacli")
Dim dtFmainc As DataTable = dsFmainc.Tables("Fmainc")
txtNombre.DataBindings.Add("Text", dtFmacli, "nombre")
txtDomicilio.DataBindings.Add("Text", dtFmainc, "domicilio")
oBMB = Me.BindingContext(dtFmacli)
oBMBDel = Me.BindingContext(dtFmainc)
End Sub
End Class
Main table of the form is "Fmacli". My problem is that
BindingManagerBase oBMB doesn't works correctly,
"Ilya Tumanov [MS]" <[email protected]> escribió en el
mensaje BindingManagerBase classes for both DataSet's will be in same
BindingContext collection on the form; you don't have to do anything.
Did you mean something different? Please clarify what you're trying to
achieve.
Best regards,
Ilya
This posting is provided "AS IS" with no warranties, and confers no
rights.
*** Want to find answers instantly? Here's how... ***
1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).
Hi:
How can I binf different datasets to the same bindingcontext of the
form?
Regards.