DatView DataBinding using Parent relation
-
Hi, I'm trying to create a DataBinding of a text box to via a DataView by using a parent relation not a child relation: eg: (the classical) Customers-Orders relation. I have a DataView on the Orders Table (for very good reasons it's impossible to set the DataView to the Customers Table). Now, I want to set a text box to the value of: Orders.Customers2Orders.CustomerName .. or something like that. If I do: textbox1.DataBindings.Add ( "Text", dataView1, "Customers2Orders.CustomerName" ) I get a nice: {"Cannot create a child list for field Customers2Orders." } System.SystemException: {"Cannot create a child list for field Customers2Orders."} m_paramName: null Message: "Cannot create a child list for field Customers2Orders." ParamName: null Is this possible somehow ? Maybe by implementing my own Binding object? Thanks alot, Tutu.