我使用C#。我想在文本框和XML数据源之间建立双向绑定(bind)。为了实现这一点,我写了这个:1Bindingsource=newBinding();23//objectddd=XmlManager.Instance.CreateAttributeOrElement(XPath);4source.Path=5newPropertyPath(6string.Format("(XmlManager.Instance.CreateAttributeOrElement({0}))",XPath));7source.Mode=BindingMode.TwoWay;89UIElementos.U